From 03c9d0b595432c19f6a5351570f19b99d417ac25 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 4 Jul 2013 00:15:35 +0300 Subject: Initial commit --- docs/tests.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/tests.py (limited to 'docs/tests.py') diff --git a/docs/tests.py b/docs/tests.py new file mode 100644 index 0000000..501deb7 --- /dev/null +++ b/docs/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