Skip to content

Commit

Permalink
Updated tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
shalinnijel2 committed Jan 18, 2024
1 parent 808c2d6 commit 625bc74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/iso15118_2/secc/states/test_iso15118_2_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,10 @@ async def test_payment_details_next_state_on_payment_details_contract_variants_i
payment_details.message.body.payment_details_res.response_code
== expected_response_code
)
# if is_authorized_return_value is not None:
# mock_is_authorized.assert_called_once()
# else:
# mock_is_authorized.assert_not_called()
if is_authorized_return_value is not None:
mock_is_authorized.assert_called_once()
else:
mock_is_authorized.assert_not_called()

@pytest.mark.parametrize(
"auth_type, is_authorized_return_value, expected_next_state,"
Expand Down

0 comments on commit 625bc74

Please sign in to comment.