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

@@ -20,7 +20,7 @@ from .mixins import SmartLinkTestMixin, SmartLinkViewTestMixin
class SmartLinkViewTestCase(SmartLinkTestMixin, SmartLinkViewTestMixin, GenericViewTestCase):
def test_smart_link_create_view_no_permission(self):
response = self._request_test_smart_link_create_view()
self.assertEquals(response.status_code, 403)
self.assertEqual(response.status_code, 403)
self.assertEqual(SmartLink.objects.count(), 0)