Skip to content

Commit d0a3960

Browse files
authoredOct 16, 2023
Merge pull request #2110 from allmightyspiff/master
v6.1.10 version bump
2 parents 186d2d5 + ac43479 commit d0a3960

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed
 

‎SoftLayer/consts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
:license: MIT, see LICENSE for more details.
77
"""
8-
VERSION = 'v6.1.9'
8+
VERSION = 'v6.1.10'
99
API_PUBLIC_ENDPOINT = 'https://api.softlayer.com/xmlrpc/v3.1/'
1010
API_PRIVATE_ENDPOINT = 'https://api.service.softlayer.com/xmlrpc/v3.1/'
1111
API_PUBLIC_ENDPOINT_REST = 'https://api.softlayer.com/rest/v3.1/'

‎setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import os
44

55
from setuptools import setup, find_packages
6-
76
# pylint: disable=inconsistent-return-statements
87

98
DESCRIPTION = "A library for SoftLayer's API"
@@ -16,7 +15,7 @@
1615

1716
setup(
1817
name='SoftLayer',
19-
version='6.1.9',
18+
version='v6.1.10',
2019
description=DESCRIPTION,
2120
long_description=LONG_DESCRIPTION,
2221
long_description_content_type='text/x-rst',

‎tests/functional_tests.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ def _get_creds(self):
1919
'variables not set')
2020

2121
return {
22-
'endpoint': (os.environ.get('SL_API_ENDPOINT') or
23-
SoftLayer.API_PUBLIC_ENDPOINT),
22+
'endpoint': (SoftLayer.API_PUBLIC_ENDPOINT),
2423
'username': os.environ['SL_USERNAME'],
2524
'api_key': os.environ['SL_API_KEY']
2625
}
@@ -30,7 +29,7 @@ class UnauthedUser(FunctionalTest):
3029

3130
def test_failed_auth(self):
3231
client = SoftLayer.Client(
33-
username='doesnotexist', api_key='issurelywrong', timeout=20)
32+
username='doesnotexist', api_key='issurelywrong', timeout=20, endpoint_url=SoftLayer.API_PUBLIC_ENDPOINT)
3433
self.assertRaises(
3534
SoftLayer.SoftLayerAPIError,
3635
client['SoftLayer_User_Customer'].getPortalLoginToken)

0 commit comments

Comments
 (0)