X-Git-Url: https://git.piment-noir.org/?p=webcomics.git;a=blobdiff_plain;f=comicsporn%2Ftests.py;fp=comicsporn%2Ftests.py;h=501deb776c16733b19f3509d86e125df78958261;hp=0000000000000000000000000000000000000000;hb=c8070854bc39b679b53502dd08eb9b8e33477e42;hpb=d243a81ef17b2320a5cbed5057875c98b714c33c diff --git a/comicsporn/tests.py b/comicsporn/tests.py new file mode 100644 index 0000000..501deb7 --- /dev/null +++ b/comicsporn/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)