Skip to content

Commit 0897d34

Browse files
authored
Version upgrade to 1.0.2 (#295)
* version upgrade to 1.0.2 * fix: fixed test_list_with_wrong_parameters test
1 parent 1dafe04 commit 0897d34

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

e2e_tests/authorization_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_list_with_parameters():
5151
def test_list_with_wrong_parameters():
5252
params = ListAuthorizationParams(10, 0, "", "-1", include_non_authorized=False)
5353
response = client.authorizations.list(params)
54-
assert response.data == []
54+
assert len(response.errors) > 0
5555

5656
def test_authorization_api_response():
5757
authorization_api_response = {

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name='unit-python-sdk',
55
packages=['unit', 'unit.api', 'unit.models', 'unit.utils'],
6-
version="1.0.1",
6+
version="1.0.2",
77
license='Mozilla Public License 2.0',
88
description='This library provides a python wrapper to http://unit.co API. See https://docs.unit.co/',
99
author='unit.co',

unit/utils/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def get_headers(self):
99
return {
1010
"content-type": "application/vnd.api+json",
1111
"authorization": f"Bearer {self.token}",
12-
"X-UNIT-SDK": f"[email protected].1"
12+
"X-UNIT-SDK": f"[email protected].2"
1313
}
1414

1515
def set_api_url(self, api_url):

0 commit comments

Comments
 (0)