diff --git a/Products/CMFFormController/tests/testRedirectTo.py b/Products/CMFFormController/tests/testRedirectTo.py index b969fad..4424014 100644 --- a/Products/CMFFormController/tests/testRedirectTo.py +++ b/Products/CMFFormController/tests/testRedirectTo.py @@ -67,6 +67,14 @@ def setUp(self): 'Authorization', 'Basic {0}:{1}'.format( TEST_USER_NAME, TEST_USER_PASSWORD)) + def tearDown(self): + # still have to delete the created pages manually + # because of test isolation problems + del self.portal['page'] + del self.portal['front-page'] + transaction.commit() + super(TestRedirectToFunctional, self).tearDown() + def test_regression(self): csrf_token = createToken() target = 'front-page' diff --git a/news/18.bugfix b/news/18.bugfix new file mode 100644 index 0000000..f7466a7 --- /dev/null +++ b/news/18.bugfix @@ -0,0 +1,3 @@ +fix testisolation problems + +[petschki] \ No newline at end of file