Skip to content

Commit

Permalink
Merge branch 'hotfix/0.13.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed May 30, 2018
2 parents 25c6e35 + 22bfddf commit fdedec7
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# Change Log

## [0.13.1](https://github.com/bunq/sdk_python/tree/0.13.1)

[Full Changelog](https://github.com/bunq/sdk_python/compare/0.13.0...0.13.1)

**Closed issues:**

- Move to new sandbox env. [\#98](https://github.com/bunq/sdk_python/issues/98)

**Merged pull requests:**

- Move to new sandbox bunq/sdk_python#98 [\#99](https://github.com/bunq/sdk_python/pull/99) ([OGKevin](https://github.com/OGKevin))

## [0.13.0](https://github.com/bunq/sdk_python/tree/0.13.0) (2018-03-20)

[Full Changelog](https://github.com/bunq/sdk_python/compare/0.12.4...HEAD)
[Full Changelog](https://github.com/bunq/sdk_python/compare/0.12.4...0.13.0)

**Implemented enhancements:**

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.13.0
0.13.1
4 changes: 2 additions & 2 deletions bunq/sdk/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ApiClient(object):
HEADER_RESPONSE_ID_LOWER_CASED = 'x-bunq-client-response-id'

# Default header values
_USER_AGENT_BUNQ = 'bunq-sdk-python/0.13.0'
_USER_AGENT_BUNQ = 'bunq-sdk-python/0.13.1'
_GEOLOCATION_ZERO = '0 0 0 0 NL'
_LANGUAGE_EN_US = 'en_US'
_REGION_NL_NL = 'nl_NL'
Expand Down Expand Up @@ -127,7 +127,7 @@ def _request(self, method, uri_relative, request_bytes, params,
self._get_uri_full(uri_relative_with_params),
data=request_bytes,
headers=all_headers,
proxies={self._FIELD_PROXY_HTTPS: self._api_context.proxy_url}
proxies={self._FIELD_PROXY_HTTPS: self._api_context.proxy_url},
)

self._assert_response_success(response)
Expand Down
2 changes: 1 addition & 1 deletion bunq/sdk/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ApiEnvironmentType(aenum.AutoNumberEnum):
"""

PRODUCTION = 'https://api.bunq.com/v1/'
SANDBOX = 'https://sandbox.public.api.bunq.com/v1/'
SANDBOX = 'https://public-api.sandbox.bunq.com/v1/'

def __init__(self, uri_base):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.13.0',
version='0.13.1',

description='bunq Python SDK',
long_description=long_description,
Expand Down
4 changes: 1 addition & 3 deletions tests/http/test_pagination_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ class TestPaginationScenario(BunqSdkTestCase):
def setUpClass(cls):
cls._USER_ID = Config.get_user_id()
cls._MONETARY_ACCOUNT_ID = Config.get_monetary_account_id_1()
cls._COUNTER_PARTY_ALIAS_OTHER = \
Config.get_pointer_counter_party_other()
cls._PAYMENT_LISTING_PAGE_SIZE = 2
cls._PAYMENT_REQUIRED_COUNT_MINIMUM = cls._PAYMENT_LISTING_PAGE_SIZE * 2
cls._NUMBER_ZERO = 0
Expand Down Expand Up @@ -95,5 +93,5 @@ def _create_payment(self):

endpoint.Payment.create(object_.Amount(self._PAYMENT_AMOUNT_EUR,
self._PAYMENT_CURRENCY),
self._COUNTER_PARTY_ALIAS_OTHER,
self._get_pointer_bravo(),
self._PAYMENT_DESCRIPTION)

0 comments on commit fdedec7

Please sign in to comment.