diff options
author | Mike Crute <mcrute@gmail.com> | 2012-12-04 16:21:32 -0500 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2012-12-11 15:27:46 -0500 |
commit | bd95993653a1b94d07316e24a0f519d00f9359d6 (patch) | |
tree | 45f44092fde26ad38db1aaaf123d7e2173fa973e /accounts/tests.py | |
parent | ab626f31a0645d87560d242a20dd60e01b3d3b46 (diff) | |
download | django-precompiler-bd95993653a1b94d07316e24a0f519d00f9359d6.tar.bz2 django-precompiler-bd95993653a1b94d07316e24a0f519d00f9359d6.tar.xz django-precompiler-bd95993653a1b94d07316e24a0f519d00f9359d6.zip |
User can login and logout
Diffstat (limited to 'accounts/tests.py')
-rw-r--r-- | accounts/tests.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/accounts/tests.py b/accounts/tests.py new file mode 100644 index 0000000..501deb7 --- /dev/null +++ b/accounts/tests.py | |||
@@ -0,0 +1,16 @@ | |||
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) | ||