diff options
author | Filipp Lepalaan <f@230.to> | 2013-07-04 00:15:35 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-07-04 00:15:35 +0300 |
commit | 03c9d0b595432c19f6a5351570f19b99d417ac25 (patch) | |
tree | cd7559e59b132c9d22fdb3a4fa5aee659270c22e /docs/tests.py | |
download | motor.old-03c9d0b595432c19f6a5351570f19b99d417ac25.tar.gz motor.old-03c9d0b595432c19f6a5351570f19b99d417ac25.tar.bz2 motor.old-03c9d0b595432c19f6a5351570f19b99d417ac25.zip |
Initial commit
Diffstat (limited to 'docs/tests.py')
-rw-r--r-- | docs/tests.py | 16 |
1 files changed, 16 insertions, 0 deletions
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) |