Skip to content

Commit 9fd5738

Browse files
committed
test(cli): reformat assertion for save refs call args
1 parent 93f4586 commit 9fd5738

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/cli/test_check.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ def test_check_with_save_ref_creates_additional_ref(self, tmp_path):
192192

193193
store.update_object.assert_called_once()
194194
store.save.assert_called_once()
195-
assert "extra" in store.save.call_args.kwargs.get("refs", store.save.call_args[1] if len(store.save.call_args) > 1 else [])
195+
assert "extra" in store.save.call_args.kwargs.get(
196+
"refs", store.save.call_args[1] if len(store.save.call_args) > 1 else []
197+
)
196198

197199
def test_check_json_format(self, tmp_path):
198200
"""Test check command with JSON output."""

0 commit comments

Comments
 (0)