Skip to content

Commit 7517297

Browse files
authored
fix(core): create_label test (#771)
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 2620d7f commit 7517297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tests/test_labels.py

+1-1
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)