From 6309de61b267c478893044a5db3cb9191b358668 Mon Sep 17 00:00:00 2001 From: Mathias Rav Date: Wed, 8 Aug 2018 19:19:47 +0200 Subject: [PATCH] Negate test status --- tests/core/test_views.py | 4 +--- tests/plugins/globalhistory/test_globalhistory.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/core/test_views.py b/tests/core/test_views.py index d5022bb9..d85c0327 100644 --- a/tests/core/test_views.py +++ b/tests/core/test_views.py @@ -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): diff --git a/tests/plugins/globalhistory/test_globalhistory.py b/tests/plugins/globalhistory/test_globalhistory.py index 72d31766..508837ef 100644 --- a/tests/plugins/globalhistory/test_globalhistory.py +++ b/tests/plugins/globalhistory/test_globalhistory.py @@ -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) -- 2.45.2