Skip to content

Commit fdedec7

Browse files
author
Kevin Hellemun
committed
Merge branch 'hotfix/0.13.1'
2 parents 25c6e35 + 22bfddf commit fdedec7

File tree

6 files changed

+19
-9
lines changed

6 files changed

+19
-9
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
# Change Log
22

3+
## [0.13.1](https://github.com/bunq/sdk_python/tree/0.13.1)
4+
5+
[Full Changelog](https://github.com/bunq/sdk_python/compare/0.13.0...0.13.1)
6+
7+
**Closed issues:**
8+
9+
- Move to new sandbox env. [\#98](https://github.com/bunq/sdk_python/issues/98)
10+
11+
**Merged pull requests:**
12+
13+
- Move to new sandbox bunq/sdk_python#98 [\#99](https://github.com/bunq/sdk_python/pull/99) ([OGKevin](https://github.com/OGKevin))
14+
315
## [0.13.0](https://github.com/bunq/sdk_python/tree/0.13.0) (2018-03-20)
416

5-
[Full Changelog](https://github.com/bunq/sdk_python/compare/0.12.4...HEAD)
17+
[Full Changelog](https://github.com/bunq/sdk_python/compare/0.12.4...0.13.0)
618

719
**Implemented enhancements:**
820

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.13.0
1+
0.13.1

bunq/sdk/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ApiClient(object):
5050
HEADER_RESPONSE_ID_LOWER_CASED = 'x-bunq-client-response-id'
5151

5252
# Default header values
53-
_USER_AGENT_BUNQ = 'bunq-sdk-python/0.13.0'
53+
_USER_AGENT_BUNQ = 'bunq-sdk-python/0.13.1'
5454
_GEOLOCATION_ZERO = '0 0 0 0 NL'
5555
_LANGUAGE_EN_US = 'en_US'
5656
_REGION_NL_NL = 'nl_NL'
@@ -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
"""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# Versions should comply with PEP440. For a discussion on single-sourcing
2525
# the version across setup.py and the project code, see
2626
# https://packaging.python.org/en/latest/single_source_version.html
27-
version='0.13.0',
27+
version='0.13.1',
2828

2929
description='bunq Python SDK',
3030
long_description=long_description,

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)