Merge pull request #16 from StrikerRUS/patch-1

update assertion name
This commit is contained in:
Oleg Silkin 2019-10-09 09:01:26 -04:00 committed by GitHub
commit 48de893165
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']