misc: fix reimported pylint error (#56288)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Build started... Details

This commit is contained in:
Lauréline Guérin 2021-08-30 14:14:18 +02:00
parent 03d672a313
commit b060a3ab61
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 0 additions and 3 deletions

View File

@ -387,7 +387,6 @@ def test_basket_item_with_capture_date(app, user, user_name_id, regie, basket_pa
assert BasketItem.objects.all()[0].capture_date == capture_date
resp = login(app).get('/test_basket_cell/')
import eopayment
eopayment_mock = mock.Mock(
return_value=('orderid', eopayment.URL, 'http://dummy-payment.demo.entrouvert.com/')
@ -429,7 +428,6 @@ def test_basket_items_extra_info(app, user, user_name_id, regie, basket_page, mo
assert resp.status_code == 200
resp = login(app).get('/test_basket_cell/')
import eopayment
eopayment_mock = mock.Mock(
return_value=('orderid', eopayment.URL, 'http://dummy-payment.demo.entrouvert.com/')
@ -461,7 +459,6 @@ def test_basket_items_extra_info_no_basket(app, regie, basket_page, monkeypatch)
assert item.user is None
payment_url = resp.json['payment_url']
import eopayment
eopayment_mock = mock.Mock(
return_value=('orderid', eopayment.URL, 'http://dummy-payment.demo.entrouvert.com/')