its keys, not items
This commit is contained in:
parent
49de4316f3
commit
9b1298227d
1 changed files with 4 additions and 4 deletions
|
|
@ -27,8 +27,8 @@ def test_handle_input_rates_works_with_full_correct_inputs():
|
|||
"output": pathlib.Path("test_output.csv"),
|
||||
}
|
||||
|
||||
for item in expected_result.items():
|
||||
assert handled_inputs[item] == expected_result[item]
|
||||
for key in expected_result.keys():
|
||||
assert handled_inputs[key] == expected_result[key]
|
||||
|
||||
|
||||
def test_handle_input_rates_raises_with_bad_currency_code():
|
||||
|
|
@ -95,5 +95,5 @@ def test_handle_input_rates_start_and_end_date_equal_works_fine():
|
|||
"output": "test_output.csv",
|
||||
}
|
||||
|
||||
for item in expected_result.items():
|
||||
assert handled_inputs[item] == expected_result[item]
|
||||
for key in expected_result.keys():
|
||||
assert handled_inputs[key] == expected_result[key]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue