adc92ed4d623a318cd8517ef30f0c09494b59130
[unfold.git] / engine / 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.simplelist import SimpleList
11
12 class PluginTest(TestCase):
13     def test_basic(self):
14         """
15         Tests that 1 + 1 always equals 2.
16         """
17         sl = SimpleList (visible=True)
18         print 'rendering', sl.render()
19         self.assertEqual(1 + 1, 2)