test_api pylint fixes

This commit is contained in:
lakshyacis 2019-09-26 16:56:55 +05:30
parent 8ed1d48799
commit 7839f83f20
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

View File

@ -31,7 +31,7 @@ class TestAPIShutdown(TestAPIProto, TestProcessShutdown):
"""Separate test case for API command 'shutdown'"""
def test_shutdown(self):
"""Shutdown the pybitmessage"""
self.assertEquals(self.api.shutdown(), 'done')
self.assertEqual(self.api.shutdown(), 'done')
for _ in range(5):
if not self.process.is_running():
break