summaryrefslogtreecommitdiff
path: root/testapp/myauthentication/tests.py
diff options
context:
space:
mode:
authorprathamesh2014-06-06 13:18:33 +0530
committerprathamesh2014-06-06 13:18:33 +0530
commit7d0753f2e0f590ed4376fdb5f8abaace7c4cfc19 (patch)
tree6cd9a54277bb7f968c1ab67cf6627802515ec972 /testapp/myauthentication/tests.py
parent8b5d13df2a8f4ac3acc075c522128722b987e57b (diff)
parentc5115d98867504076daacc093d09489033c6a584 (diff)
downloadonline_test-7d0753f2e0f590ed4376fdb5f8abaace7c4cfc19.tar.gz
online_test-7d0753f2e0f590ed4376fdb5f8abaace7c4cfc19.tar.bz2
online_test-7d0753f2e0f590ed4376fdb5f8abaace7c4cfc19.zip
Merge branch 'spoken_tutorial'
Diffstat (limited to 'testapp/myauthentication/tests.py')
-rw-r--r--testapp/myauthentication/tests.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/testapp/myauthentication/tests.py b/testapp/myauthentication/tests.py
new file mode 100644
index 0000000..501deb7
--- /dev/null
+++ b/testapp/myauthentication/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)