AiC and REST login
[myslice.git] / unfold / tests.py
1 from __future__ import print_function
2
3 """
4 This file demonstrates writing tests using the unittest module. These will pass
5 when you run "manage.py test".
6
7 Replace this with more appropriate tests for your application.
8 """
9
10 from django.test import TestCase
11
12 from plugins.lists.simplelist import SimpleList
13
14 class PluginTest(TestCase):
15     def test_basic(self):
16         """
17         Tests that 1 + 1 always equals 2.
18         """
19         print('test_basic is broken')
20         return True
21         sl = SimpleList (visible=True)
22         print('rendering', sl.render())
23         self.assertEqual(1 + 1, 2)