0002-payfip-set-min_time_between_transactions-to-20-minut.patch
eopayment/payfip_ws.py | ||
---|---|---|
202 | 202 |
], |
203 | 203 |
} |
204 | 204 | |
205 |
min_time_between_transactions = 60 * 20 # 20 minutes |
|
206 | ||
205 | 207 |
def __init__(self, *args, **kwargs): |
206 | 208 |
super(Payment, self).__init__(*args, **kwargs) |
207 | 209 |
wsdl_url = self.wsdl_url |
tests/test_payfip_ws.py | ||
---|---|---|
480 | 480 |
'url_notification': NOTIF_URL, |
481 | 481 |
'url_redirect': REDIRECT_URL, |
482 | 482 |
} |
483 | ||
484 | ||
485 |
def test_get_min_time_between_transactions(backend): |
|
486 |
assert backend.get_min_time_between_transactions() == 20 * 60 |
|
483 |
- |