1 # -*- coding: utf-8 -*-
3 This file demonstrates two different styles of tests (one doctest and one
4 unittest). These will both pass when you run "manage.py test".
6 Replace these with more appropriate tests for your application.
9 from django.test import TestCase
12 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.