Mercurial > public > sg101
comparison gpp/ygroup/tests.py @ 323:0c18dfb1da1c
Fixing #149; adding the ygroup application: an archive of the old Yahoo Group messages.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 20 Feb 2011 00:31:54 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
322:c3d3d7114749 | 323:0c18dfb1da1c |
---|---|
1 """ | |
2 This file demonstrates writing tests using the unittest module. These will pass | |
3 when you run "manage.py test". | |
4 | |
5 Replace this with more appropriate tests for your application. | |
6 """ | |
7 | |
8 from django.test import TestCase | |
9 | |
10 | |
11 class SimpleTest(TestCase): | |
12 def test_basic_addition(self): | |
13 """ | |
14 Tests that 1 + 1 always equals 2. | |
15 """ | |
16 self.assertEqual(1 + 1, 2) |