From d6655d4957b9e1654d1bfe262d093120def254ee Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Fri, 17 Feb 2012 09:39:46 -0800 Subject: Initial commmit. --- news/tests.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 news/tests.py (limited to 'news/tests.py') 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) -- cgit v1.2.3-70-g09d2