update assertion name

This commit is contained in:
Nikita Titov 2019-10-08 23:11:54 +03:00 committed by GitHub
parent 84cb1ad5c8
commit c4e3714d04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,7 +243,7 @@ class ListCommentsTest(AsyncioTestCase):
self.assertIn('result', response_one)
response_one: dict = response_one['result']
self.assertIs(type(response_one), dict)
self.assertEquals(response_one['page_size'], len(response_one['items']))
self.assertEqual(response_one['page_size'], len(response_one['items']))
self.assertIn('items', response_one)
self.assertGreaterEqual(response_one['total_pages'], response_one['page'])
last_page = response_one['total_pages']