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 e48d772 commit e4a41c8Copy full SHA for e4a41c8
tests/test_api/test_api_operations.py
@@ -470,8 +470,10 @@ def test_cli_op_line_numbers(self):
470
assert op_order[2] == second_pseudo_hash
471
472
# And that they have the expected line numbers
473
- assert state.op_line_numbers_to_hash.get((first_pseudo_call_line,)) == first_pseudo_hash
474
- assert state.op_line_numbers_to_hash.get((second_pseudo_call_line,)) == second_pseudo_hash
+ assert state.op_line_numbers_to_hash.get((0, first_pseudo_call_line)) \
+ == first_pseudo_hash
475
+ assert state.op_line_numbers_to_hash.get((0, second_pseudo_call_line)) \
476
+ == second_pseudo_hash
477
478
# Ensure somehost has two ops and anotherhost only has the one
479
assert len(state.ops[inventory.get_host('somehost')]) == 2
0 commit comments