summaryrefslogtreecommitdiff
path: root/sublab_project/projects/tests.py
diff options
context:
space:
mode:
authorMarkus Zapke-Grùˆndemann <info@keimlink.de>2011-12-29 21:33:14 +0100
committerMarkus Zapke-Grùˆndemann <info@keimlink.de>2011-12-29 21:33:14 +0100
commit61cbcea237a2c69bbaa3595050536ec10bed2b4d (patch)
treee9d82986929d8b8d53e9bce43d4fc08ffb03a3d4 /sublab_project/projects/tests.py
Initial commit.
Diffstat (limited to 'sublab_project/projects/tests.py')
-rw-r--r--sublab_project/projects/tests.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/sublab_project/projects/tests.py b/sublab_project/projects/tests.py
new file mode 100644
index 0000000..501deb7
--- /dev/null
+++ b/sublab_project/projects/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)