Mercurial > public > sg101
view ygroup/tests.py @ 608:8ddd6490cbc9
Follow up to c8b4dfb2d1e5; delete spammer's avatar if it exists.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 Jul 2012 14:18:10 -0500 |
parents | ee87ea74d46b |
children |
line wrap: on
line source
""" 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)