1
"""This file demonstrates two different styles of tests (one doctest and one
2
unittest). These will both pass when you run "manage.py test".
4
Replace these with more appropriate tests for your application.
8
from django.test import TestCase
11
class SimpleTest(TestCase):
13
def test_basic_addition(self):
15
Tests that 1 + 1 always equals 2.
17
self.failUnlessEqual(1 + 1, 2)
19
__test__ = {'doctest': """
20
Another way to test that 1 + 1 is equal to 2.