Projet

Général

Profil

0031-misc-fix-reimported-pylint-error-56288.patch

Lauréline Guérin, 30 août 2021 17:54

Télécharger (1,51 ko)

Voir les différences:

Subject: [PATCH 31/31] misc: fix reimported pylint error (#56288)

 tests/test_lingo_payment.py | 3 ---
 1 file changed, 3 deletions(-)
tests/test_lingo_payment.py
387 387
    assert BasketItem.objects.all()[0].capture_date == capture_date
388 388

  
389 389
    resp = login(app).get('/test_basket_cell/')
390
    import eopayment
391 390

  
392 391
    eopayment_mock = mock.Mock(
393 392
        return_value=('orderid', eopayment.URL, 'http://dummy-payment.demo.entrouvert.com/')
......
429 428
    assert resp.status_code == 200
430 429

  
431 430
    resp = login(app).get('/test_basket_cell/')
432
    import eopayment
433 431

  
434 432
    eopayment_mock = mock.Mock(
435 433
        return_value=('orderid', eopayment.URL, 'http://dummy-payment.demo.entrouvert.com/')
......
461 459
    assert item.user is None
462 460

  
463 461
    payment_url = resp.json['payment_url']
464
    import eopayment
465 462

  
466 463
    eopayment_mock = mock.Mock(
467 464
        return_value=('orderid', eopayment.URL, 'http://dummy-payment.demo.entrouvert.com/')
468
-