test_models.py 494 Bytes
Newer Older
David Haynes's avatar
David Haynes committed
1
# Django Imports
David Haynes's avatar
David Haynes committed
2
3
from django.test import TestCase

David Haynes's avatar
David Haynes committed
4
5
# App Imports
from go.models import URL, RegisteredUser
David Haynes's avatar
David Haynes committed
6

David Haynes's avatar
David Haynes committed
7
8
9
"""
    Test cases for the URL Model
"""
David Haynes's avatar
David Haynes committed
10
class URLTest(TestCase):
David Haynes's avatar
David Haynes committed
11

David Haynes's avatar
David Haynes committed
12
13
14
    """
        Default test case, does not actually test anything
    """
David Haynes's avatar
David Haynes committed
15
    def test_Django_Test(self):
David Haynes's avatar
David Haynes committed
16
        self.assertEqual("Hello World!", "Hello World!")
David Haynes's avatar
David Haynes committed
17
18
19
20
21
22
23
24

"""
    Test cases for the RegisteredUser Model
"""
class RegisteredUserTest(TestCase):

    def test_Django_Test(self):
        self.assertEqual(1+1, 2)