Commits

Jérémie Ducastel  committed fc13c20

# fix unit tests

  • Participants
  • Parent commits 52bd6ac

Comments (0)

Files changed (1)

File pagecontents/tests/tests_forms.py

 class TestPageLangContentsForm(FormTestCase):
 
     def setUp(self):
+        settings.PAGECONTENTS_TEMPLATE_CHOICES = None
         self.form_class = PageLangContentsForm
         self.page = Page(slug='test', tree_left=1, tree_right=2, tree_depth=0,
             template='tests/pc_pageform.html')
 
     # fixtures = ['tests_models.yaml']
     
+    def setUp(self):
+        settings.PAGECONTENTS_TEMPLATE_CHOICES = None
+    
     def test_page_position_field(self):
         class MockupForm(Form):
             pos = PagePositionField()