test_forms.py 713 Bytes
Newer Older
1 2 3 4 5 6 7
# Future Imports
from __future__ import unicode_literals, absolute_import, print_function, division

# Django Imports
from django.test import TestCase

# App Imports
David Haynes's avatar
David Haynes committed
8
from go.forms import URLForm, SignupForm
9 10 11

class URLFormTest(TestCase):
    """
David Haynes's avatar
David Haynes committed
12
    Test cases for the URL form
13
    """
14 15 16

    def test_django_test(self):
        """
David Haynes's avatar
David Haynes committed
17
        Default test case, does not actually test anything
18 19
        """

20
        self.assertEqual("Hello World!", "Hello World!")
David Haynes's avatar
David Haynes committed
21 22 23

class SignupForm(TestCase):
    """
David Haynes's avatar
David Haynes committed
24
    Test cases for the Signup form
David Haynes's avatar
David Haynes committed
25
    """
26 27 28

    def test_django_test(self):
        """
David Haynes's avatar
David Haynes committed
29
        Default test case, does not actually test anything
30 31
        """

David Haynes's avatar
David Haynes committed
32
        self.assertEqual("Hello World!", "Hello World!")