Bump versions of pycodestyle and pep8-naming

This commit is contained in:
Raphael Michel
2022-02-13 20:39:31 +01:00
parent a307cf8934
commit a37ed6f001
16 changed files with 65 additions and 65 deletions

View File

@@ -1978,7 +1978,7 @@ def test_refund_propose_lower_payment(client, env):
}, follow=True)
doc = BeautifulSoup(response.content.decode(), "lxml")
assert doc.select("input[name=refund-{}]".format(p2.pk))[0]['value'] == '6.00'
assert doc.select("input[name=refund-manual]".format(p2.pk))[0]['value'] == '1.00'
assert doc.select("input[name=refund-manual]")[0]['value'] == '1.00'
@pytest.mark.django_db
@@ -1999,7 +1999,7 @@ def test_refund_propose_equal_payment(client, env):
}, follow=True)
doc = BeautifulSoup(response.content.decode(), "lxml")
assert doc.select("input[name=refund-{}]".format(p2.pk))[0]['value'] == '7.00'
assert not doc.select("input[name=refund-manual]".format(p2.pk))[0].get('value')
assert not doc.select("input[name=refund-manual]")[0].get('value')
@pytest.mark.django_db
@@ -2020,7 +2020,7 @@ def test_refund_propose_higher_payment(client, env):
}, follow=True)
doc = BeautifulSoup(response.content.decode(), "lxml")
assert doc.select("input[name=refund-{}]".format(p2.pk))[0]['value'] == '7.00'
assert not doc.select("input[name=refund-manual]".format(p2.pk))[0].get('value')
assert not doc.select("input[name=refund-manual]")[0].get('value')
@pytest.mark.django_db