~netlandish/django-wiki

6309de61b267c478893044a5db3cb9191b358668 — Mathias Rav 6 years ago 05123ab
Negate test status
2 files changed, 2 insertions(+), 6 deletions(-)

M tests/core/test_views.py
M tests/plugins/globalhistory/test_globalhistory.py
M tests/core/test_views.py => tests/core/test_views.py +1 -3
@@ 301,9 301,7 @@ class MoveViewTest(RequireRootArticleMixin, ArticleWebTestUtils, DjangoClientTes
            response_da = self.client.get(url)

            self.assertNotIn('Move article', response_da.rendered_content)

            # TODO: Fix this bug and change to assertNotIn.
            self.assertIn('Be careful', response_da.rendered_content)
            self.assertNotIn('Be careful', response_da.rendered_content)


class DeleteViewTest(RequireRootArticleMixin, ArticleWebTestUtils, DjangoClientTestBase):

M tests/plugins/globalhistory/test_globalhistory.py => tests/plugins/globalhistory/test_globalhistory.py +1 -3
@@ 90,6 90,4 @@ class GlobalhistoryTests(RequireRootArticleMixin, ArticleWebTestUtils, DjangoCli
            response_da = self.client.get(url)

            self.assertNotIn('Global history', response_da.rendered_content)

            # TODO: Fix this bug and change to assertNotIn.
            self.assertIn('in the wiki', response_da.rendered_content)
            self.assertNotIn('in the wiki', response_da.rendered_content)