aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/apps/subjects/tests.py
diff options
context:
space:
mode:
Diffstat (limited to '97suifangqa/apps/subjects/tests.py')
-rw-r--r--97suifangqa/apps/subjects/tests.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/97suifangqa/apps/subjects/tests.py b/97suifangqa/apps/subjects/tests.py
new file mode 100644
index 0000000..501deb7
--- /dev/null
+++ b/97suifangqa/apps/subjects/tests.py
@@ -0,0 +1,16 @@
+"""
+This file demonstrates writing tests using the unittest module. These will pass
+when you run "manage.py test".
+
+Replace this with more appropriate tests for your application.
+"""
+
+from django.test import TestCase
+
+
+class SimpleTest(TestCase):
+ def test_basic_addition(self):
+ """
+ Tests that 1 + 1 always equals 2.
+ """
+ self.assertEqual(1 + 1, 2)