Skip to content

Commit

Permalink
Fix assertion in TestSession.test_serialize (#860)
Browse files Browse the repository at this point in the history
  • Loading branch information
samrat authored Oct 21, 2022
1 parent a438592 commit 52f908b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_serialize(self, session):
self.assertEqual(new_msg["parent_header"], msg["parent_header"])
self.assertEqual(new_msg["metadata"], msg["metadata"])
# ensure floats don't come out as Decimal:
self.assertEqual(type(new_msg["content"]["b"]), type(new_msg["content"]["b"]))
self.assertEqual(type(new_msg["content"]["b"]), type(msg["content"]["b"]))

def test_default_secure(self, session):
assert isinstance(session.key, bytes)
Expand Down

0 comments on commit 52f908b

Please sign in to comment.