Skip to content

Commit b7f85bb

Browse files
committed
Try syggest edfix
1 parent 322a49c commit b7f85bb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_scrobble.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ def test_scrobbler_payload_excludes_app_metadata():
5555
print("args:", getattr(mock_post.call_args, "args", None))
5656
print("tuple:", tuple(mock_post.call_args))
5757

58-
args = tuple(mock_post.call_args.args)
58+
args, kwargs = mock_post.call_args
59+
assert not kwargs
5960
assert len(args) >= 2
6061
payload = args[-1]
62+
6163
print("payload.type:", type(payload))
6264
print("payload:", payload)
6365
assert isinstance(payload, dict)

0 commit comments

Comments
 (0)