Skip to content

Commit 51af3d8

Browse files
committed
Fix for create_label test
Make sure the test covers the intended behaviour. Previously it was executing the create_labels function without actually verifying there are no side effects.
1 parent b1642e9 commit 51af3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tests/test_labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ def test_session_are_module_import_scoped():
6161
def test_create_no_side_effects():
6262
input_labels = {"key": "value"}
6363
expected_labels = input_labels.copy()
64-
create_labels("not-ryuk", {"key": "value"})
64+
create_labels("not-ryuk", input_labels)
6565
assert input_labels == expected_labels, input_labels

0 commit comments

Comments
 (0)