bob@14: """ bob@14: This file demonstrates writing tests using the unittest module. These will pass bob@14: when you run "manage.py test". bob@14: bob@14: Replace this with more appropriate tests for your application. bob@14: """ bob@14: bob@14: from django.test import TestCase bob@14: bob@14: bob@14: class SimpleTest(TestCase): bob@14: def test_basic_addition(self): bob@14: """ bob@14: Tests that 1 + 1 always equals 2. bob@14: """ bob@14: self.assertEqual(1 + 1, 2)