Updated from global requirements

Also, fix unit tests.

Change-Id: I62e371c6f5a637e10c8aac6bb31910c17d873d51
This commit is contained in:
OpenStack Proposal Bot 2018-02-02 00:33:54 +00:00 committed by Monty Taylor
parent 23107f2513
commit fcc673d131
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
3 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,5 @@
[gerrit]
host=review.openstack.org
port=29418
defaultbranch=stable/pike
project=openstack/python-openstacksdk.git

View File

@ -13,6 +13,7 @@
import json
import mock
import operator
import testtools
from openstack import exceptions
@ -323,4 +324,8 @@ class TestImage(testtools.TestCase):
call = self.sess.patch.call_args
call_args, call_kwargs = call
self.assertEqual(url, call_args[0])
self.assertEqual(json.loads(value), json.loads(call_kwargs['data']))
self.assertEqual(
sorted(json.loads(value), key=operator.itemgetter('op')),
sorted(
json.loads(call_kwargs['data']),
key=operator.itemgetter('op')))

View File

@ -7,12 +7,12 @@ beautifulsoup4>=4.6.0 # MIT
coverage!=4.4,>=4.0 # Apache-2.0
doc8 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0.0 # BSD
mock>=2.0 # BSD
python-subunit>=0.0.18 # Apache-2.0/BSD
openstackdocstheme>=1.16.0 # Apache-2.0
os-testr>=0.8.0 # Apache-2.0
requests>=2.14.2 # Apache-2.0
requests-mock>=1.1.0 # Apache-2.0
requests-mock>=1.1 # Apache-2.0
sphinx>=1.6.2 # BSD
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD