Instead of print added getAllInboxMessages values in assertEqual message parameter

This commit is contained in:
kuldeep.k@cisinlabs.com 2021-11-26 20:23:55 +05:30
parent 62ffe96bc8
commit 21d5a6ce8f
No known key found for this signature in database
GPG Key ID: AF4FB299BF7C7C2A

View File

@ -99,12 +99,11 @@ class TestAPI(TestAPIProto):
def test_message_inbox(self): def test_message_inbox(self):
"""Test message inbox methods""" """Test message inbox methods"""
print("getAllInboxMessages: ", json.loads(
self.api.getAllInboxMessages())["inboxMessages"])
self.assertEqual( self.assertEqual(
len(json.loads( len(json.loads(
self.api.getAllInboxMessages())["inboxMessages"]), self.api.getAllInboxMessages())["inboxMessages"]),
2 2,
json.loads(self.api.getAllInboxMessages())["inboxMessages"]
) )
self.assertEqual( self.assertEqual(
len(json.loads( len(json.loads(