Skip to content

Commit 68a3b70

Browse files
authored
Merge pull request #99 from bunq/move-to-new-sandbox-bunq/sdk_python#98
Move to new sandbox #98
2 parents 0a793d9 + 47df9a9 commit 68a3b70

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

bunq/sdk/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def _request(self, method, uri_relative, request_bytes, params,
129129
self._get_uri_full(uri_relative_with_params),
130130
data=request_bytes,
131131
headers=all_headers,
132-
proxies={self._FIELD_PROXY_HTTPS: self._api_context.proxy_url}
132+
proxies={self._FIELD_PROXY_HTTPS: self._api_context.proxy_url},
133133
)
134134

135135
self._assert_response_success(response)

bunq/sdk/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ApiEnvironmentType(aenum.AutoNumberEnum):
1818
"""
1919

2020
PRODUCTION = 'https://api.bunq.com/v1/'
21-
SANDBOX = 'https://sandbox.public.api.bunq.com/v1/'
21+
SANDBOX = 'https://public-api.sandbox.bunq.com/v1/'
2222

2323
def __init__(self, uri_base):
2424
"""

tests/http/test_pagination_scenario.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class TestPaginationScenario(BunqSdkTestCase):
1717
def setUpClass(cls):
1818
cls._USER_ID = Config.get_user_id()
1919
cls._MONETARY_ACCOUNT_ID = Config.get_monetary_account_id_1()
20-
cls._COUNTER_PARTY_ALIAS_OTHER = \
21-
Config.get_pointer_counter_party_other()
2220
cls._PAYMENT_LISTING_PAGE_SIZE = 2
2321
cls._PAYMENT_REQUIRED_COUNT_MINIMUM = cls._PAYMENT_LISTING_PAGE_SIZE * 2
2422
cls._NUMBER_ZERO = 0
@@ -95,5 +93,5 @@ def _create_payment(self):
9593

9694
endpoint.Payment.create(object_.Amount(self._PAYMENT_AMOUNT_EUR,
9795
self._PAYMENT_CURRENCY),
98-
self._COUNTER_PARTY_ALIAS_OTHER,
96+
self._get_pointer_bravo(),
9997
self._PAYMENT_DESCRIPTION)

0 commit comments

Comments
 (0)