Fix assertEquals warning

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-13 23:28:58 -04:00
parent 2f998ab4ce
commit d41fe1b701
11 changed files with 62 additions and 62 deletions

View File

@@ -17,7 +17,7 @@ from .mixins import IndexTestMixin, IndexViewTestMixin
class IndexViewTestCase(IndexTestMixin, IndexViewTestMixin, GenericDocumentViewTestCase):
def test_index_create_view_no_permission(self):
response = self._request_test_index_create_view()
self.assertEquals(response.status_code, 403)
self.assertEqual(response.status_code, 403)
self.assertEqual(Index.objects.count(), 0)