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)