Improve tags app organization test.

This commit is contained in:
Roberto Rosario
2016-05-30 23:55:02 -04:00
parent f6dfff5949
commit 8221f90fd3

View File

@@ -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):