We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efacba8 commit 9301b9bCopy full SHA for 9301b9b
tests/test_api/test_api_operations.py
@@ -466,8 +466,10 @@ def test_cli_op_line_numbers(self):
466
assert op_order[2] == second_context_hash
467
468
# And that they have the expected line numbers
469
- assert state.op_line_numbers_to_hash.get((first_context_call_line,)) == first_context_hash
470
- assert state.op_line_numbers_to_hash.get((second_context_call_line,)) == second_context_hash
+ assert state.op_line_numbers_to_hash.get((0, first_context_call_line)) \
+ == first_context_hash
471
+ assert state.op_line_numbers_to_hash.get((0, second_context_call_line)) \
472
+ == second_context_hash
473
474
# Ensure somehost has two ops and anotherhost only has the one
475
assert len(state.ops[inventory.get_host('somehost')]) == 2
0 commit comments