From 8221f90fd38c93a2474c95f363f5e41bf8c2ab82 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 30 May 2016 23:55:02 -0400 Subject: [PATCH] Improve tags app organization test. --- mayan/apps/tags/tests/test_organization_views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mayan/apps/tags/tests/test_organization_views.py b/mayan/apps/tags/tests/test_organization_views.py index 3a0121a4be..9009860294 100644 --- a/mayan/apps/tags/tests/test_organization_views.py +++ b/mayan/apps/tags/tests/test_organization_views.py @@ -22,6 +22,7 @@ class TagOrganizationViewTestCase(OrganizationViewTestCase): 'label': TEST_TAG_LABEL, 'color': TEST_TAG_COLOR } ) + self.assertNotContains(response, text='danger', status_code=302) self.assertEqual(Tag.on_organization.count(), 1) with self.settings(ORGANIZATION_ID=self.organization_b.pk):