ManageUser: Admin edit's user details
[myslice.git] / unfold / tests.py
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 from plugins.lists.simplelist import SimpleList
11
12 class PluginTest(TestCase):
13     def test_basic(self):
14         """
15         Tests that 1 + 1 always equals 2.
16         """
17         print 'test_basic is broken'
18         return True
19         sl = SimpleList (visible=True)
20         print 'rendering', sl.render()
21         self.assertEqual(1 + 1, 2)