tests: fix check of mocked call arguments to work with python 3 (#35425)

This commit is contained in:
Frédéric Péters 2019-08-18 12:54:29 +02:00
parent 50c44019a5
commit 1681ec8672
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ def test_transaction_manual_validation(app, basket_page, user, monkeypatch):
resp = login(app).get('/test_basket_cell/')
resp = resp.form.submit()
assert MockPayment.request.call_args.kwargs['manual_validation'] is True
assert MockPayment.request.call_args[1]['manual_validation'] is True
@pytest.mark.parametrize('with_payment_backend', [False, True])