diff --git a/eopayment/dummy.py b/eopayment/dummy.py index 87a3c64..7ae0d86 100644 --- a/eopayment/dummy.py +++ b/eopayment/dummy.py @@ -24,7 +24,7 @@ from .common import ERROR, PAID, URL, WAITING, PaymentCommon, PaymentResponse, R __all__ = ['Payment'] -SERVICE_URL = 'http://dummy-payment.demo.entrouvert.com/' +SERVICE_URL = 'https://dummy-payment.entrouvert.com/' LOGGER = logging.getLogger(__name__) @@ -35,7 +35,7 @@ class Payment(PaymentCommon): It is used with a dummy implementation of a bank payment service that you can find on: - http://dummy-payment.demo.entrouvert.com/ + https://dummy-payment.entrouvert.com/ You must pass the following keys inside the options dictionnary: - dummy_service_url, the URL of the dummy payment service, it defaults diff --git a/tests/test_dummy.py b/tests/test_dummy.py index f045296..a4a45c2 100644 --- a/tests/test_dummy.py +++ b/tests/test_dummy.py @@ -39,8 +39,8 @@ def test_request(backend, freezer): assert transaction_id assert method == 1 url = urlparse(raw_url) - assert url.scheme == 'http' - assert url.netloc == 'dummy-payment.demo.entrouvert.com' + assert url.scheme == 'https' + assert url.netloc == 'dummy-payment.entrouvert.com' assert url.path == '/' assert url.fragment == '' qs = {k: v[0] for k, v in parse_qs(url.query).items()}