Skip to content

Commit 0ff7c04

Browse files
OGKevinKevin Hellemun
authored andcommitted
Merge pull request #99 from bunq/move-to-new-sandbox-bunq/sdk_python#98
Move to new sandbox #98
1 parent 25c6e35 commit 0ff7c04

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
@@ -127,7 +127,7 @@ def _request(self, method, uri_relative, request_bytes, params,
127127
self._get_uri_full(uri_relative_with_params),
128128
data=request_bytes,
129129
headers=all_headers,
130-
proxies={self._FIELD_PROXY_HTTPS: self._api_context.proxy_url}
130+
proxies={self._FIELD_PROXY_HTTPS: self._api_context.proxy_url},
131131
)
132132

133133
self._assert_response_success(response)

bunq/sdk/context.py

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

2121
PRODUCTION = 'https://api.bunq.com/v1/'
22-
SANDBOX = 'https://sandbox.public.api.bunq.com/v1/'
22+
SANDBOX = 'https://public-api.sandbox.bunq.com/v1/'
2323

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

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)