summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorJayaram R Pai2014-09-18 18:42:08 +0530
committerJayaram R Pai2014-09-18 18:42:08 +0530
commit1c9a2b92950d9ac1ac09cecf77d9aae9502aef97 (patch)
treefed3232782038033545a306fc4fdcf17fd62780a /website
parent91fab7da5130cbd01513fa4b673f65347ccf2966 (diff)
downloadscipy2014-1c9a2b92950d9ac1ac09cecf77d9aae9502aef97.tar.gz
scipy2014-1c9a2b92950d9ac1ac09cecf77d9aae9502aef97.tar.bz2
scipy2014-1c9a2b92950d9ac1ac09cecf77d9aae9502aef97.zip
re-migrated to django 1.5
Diffstat (limited to 'website')
-rw-r--r--website/tests.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/website/tests.py b/website/tests.py
index 7ce503c..501deb7 100644
--- a/website/tests.py
+++ b/website/tests.py
@@ -1,3 +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
-# Create your tests here.
+
+class SimpleTest(TestCase):
+ def test_basic_addition(self):
+ """
+ Tests that 1 + 1 always equals 2.
+ """
+ self.assertEqual(1 + 1, 2)