summaryrefslogtreecommitdiffstats
path: root/news/tests.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-02-17 09:39:46 -0800
committerThibaut Horel <thibaut.horel@gmail.com>2012-02-17 09:39:46 -0800
commitd6655d4957b9e1654d1bfe262d093120def254ee (patch)
treeeffe7dcb8f771f2c026fff9d067fb74c4ca84a56 /news/tests.py
downloadfamille-django-master.tar.gz
Initial commmit.HEADmaster
Diffstat (limited to 'news/tests.py')
-rw-r--r--news/tests.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/news/tests.py b/news/tests.py
new file mode 100644
index 0000000..501deb7
--- /dev/null
+++ b/news/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)