forked from CGM_Public/pretix_original
Bump versions of pycodestyle and pep8-naming
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user