From 61cbcea237a2c69bbaa3595050536ec10bed2b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Zapke-Gru=CC=88ndemann?= Date: Thu, 29 Dec 2011 21:33:14 +0100 Subject: Initial commit. --- sublab_project/projects/tests.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sublab_project/projects/tests.py (limited to 'sublab_project/projects/tests.py') 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) -- cgit v1.2.1