Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmacias95 committed Dec 19, 2023
1 parent 8fbb999 commit 57ea2df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ def test_object_date_attrs():

def test_object_pickle():
obj = Object("dummy")
obj.whatever = {'1': '2'}
pickle.loads(pickle.dumps(obj))
obj.whatever = {"1": "2"}
new = pickle.loads(pickle.dumps(obj))
assert new.whatever == obj.whatever
assert new.to_dict() == obj.to_dict()


def test_object_to_dict():
Expand Down

0 comments on commit 57ea2df

Please sign in to comment.