summaryrefslogtreecommitdiff
path: root/stapp/userprofile/tests.py
diff options
context:
space:
mode:
authorparth2012-06-01 15:03:13 +0530
committerparth2012-06-01 15:03:13 +0530
commit2113f66de743877597d24e20df9ac1e828167277 (patch)
tree77b21ff4414d440aaa672377de796f818b9993c8 /stapp/userprofile/tests.py
downloadstproject-2113f66de743877597d24e20df9ac1e828167277.tar.gz
stproject-2113f66de743877597d24e20df9ac1e828167277.tar.bz2
stproject-2113f66de743877597d24e20df9ac1e828167277.zip
Restart of project. Most of the changes have been done by @Jayparikh111
Diffstat (limited to 'stapp/userprofile/tests.py')
-rw-r--r--stapp/userprofile/tests.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/stapp/userprofile/tests.py b/stapp/userprofile/tests.py
new file mode 100644
index 0000000..501deb7
--- /dev/null
+++ b/stapp/userprofile/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)