forked from pool/python-softlayer
Accepting request 701229 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/701229 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-softlayer?expand=0&rev=5
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
diff --git a/tests/CLI/modules/config_tests.py b/tests/CLI/modules/config_tests.py
|
||||
index 4fe9cf86..ec018a53 100644
|
||||
--- a/tests/CLI/modules/config_tests.py
|
||||
+++ b/tests/CLI/modules/config_tests.py
|
||||
@@ -75,10 +75,12 @@ def test_setup(self, mocked_input, getpass, confirm_mock, client):
|
||||
self.assertTrue('api_key = AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' in contents)
|
||||
self.assertTrue('endpoint_url = %s' % consts.API_PUBLIC_ENDPOINT in contents)
|
||||
|
||||
+ @mock.patch('SoftLayer.Client')
|
||||
@mock.patch('SoftLayer.CLI.formatting.confirm')
|
||||
@mock.patch('SoftLayer.CLI.environment.Environment.getpass')
|
||||
@mock.patch('SoftLayer.CLI.environment.Environment.input')
|
||||
- def test_setup_cancel(self, mocked_input, getpass, confirm_mock):
|
||||
+ def test_setup_cancel(self, mocked_input, getpass, confirm_mock, client):
|
||||
+ client.return_value = self.env.client
|
||||
with tempfile.NamedTemporaryFile() as config_file:
|
||||
confirm_mock.return_value = False
|
||||
getpass.return_value = 'A' * 64
|
||||
|
@@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 07:27:35 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- version update to 5.7.2
|
||||
+ #1107 Added exception to handle json parsing error when ordering
|
||||
+ #1068 Support for -1 when changing port speed
|
||||
+ #1109 Fixed docs about placement groups
|
||||
+ #1112 File storage endurance iops upgrade
|
||||
+ #1101 Handle the new user creation exceptions
|
||||
+ #1116 Fix order place quantity option
|
||||
+ #1002 Invoice commands
|
||||
* account invoices
|
||||
* account invoice-detail
|
||||
* account summary
|
||||
+ #1004 Event Notification Management commands
|
||||
* account events
|
||||
* account event-detail
|
||||
+ #1117 Two PCIe items can be added at order time
|
||||
+ #1121 Fix object storage apiType for S3 and Swift.
|
||||
+ #1100 Event Log performance improvements.
|
||||
+ #872 column 'name' was renamed to 'hostname'
|
||||
+ #1127 Fix object storage credentials.
|
||||
+ #1129 Fixed unexpected errors in slcli subnet create
|
||||
+ #1134 Change encrypt parameters for importing of images. Adds root-key-crn
|
||||
+ #208 Quote ordering commands
|
||||
* order quote
|
||||
* order quote-detail
|
||||
* order quote-list
|
||||
+ #1113 VS usage information command
|
||||
* virtual usage
|
||||
+ #1131 made sure config_tests dont actually make api calls.
|
||||
- deleted patches
|
||||
- python-softlayer-fix-teset_setup_cancel.patch (upstreamed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 06:27:39 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
@@ -18,15 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-softlayer
|
||||
Version: 5.7.1
|
||||
Version: 5.7.2
|
||||
Release: 0
|
||||
Summary: A set of Python libraries that assist in calling the SoftLayer API
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/softlayer/softlayer-python
|
||||
Source: https://github.com/softlayer/softlayer-python/archive/v%{version}.tar.gz
|
||||
# fix https://github.com/softlayer/softlayer-python/issues/1095
|
||||
Patch0: python-softlayer-fix-teset_setup_cancel.patch
|
||||
BuildRequires: %{python_module PrettyTable >= 0.7.0}
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module mock}
|
||||
@@ -55,7 +53,6 @@ This library provides a simple Python client to interact with SoftLayer's XML-RP
|
||||
|
||||
%prep
|
||||
%setup -q -n softlayer-python-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3fbb7ff534ab519fa385970198736d28ec0805ecac593d1d759b684958a69e11
|
||||
size 349403
|
3
v5.7.2.tar.gz
Normal file
3
v5.7.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:57d0402897d45a0174444de4ee008657b14dbb0f5de0e0d147d94341e01d99a5
|
||||
size 364111
|
Reference in New Issue
Block a user