fix botocore usage and do not limit botocore version
Change-Id: Ib86a4ac4e33c279cbe8afa9b5cf28292fa749e5e
This commit is contained in:
parent
969cf4f13d
commit
07bd5bbd2c
@ -103,7 +103,7 @@ fi
|
||||
|
||||
sudo pip install -r test-requirements.txt
|
||||
# botocore not in openstack requirements now, so install it manually
|
||||
sudo pip install botocore==0.85
|
||||
sudo pip install botocore
|
||||
sudo OS_STDOUT_CAPTURE=-1 OS_STDERR_CAPTURE=-1 OS_TEST_TIMEOUT=500 OS_TEST_LOCK_PATH=${TMPDIR:-'/tmp'} \
|
||||
python -m subunit.run discover -t ./ ./ec2api/tests/functional | subunit-2to1 | tools/colorizer.py
|
||||
RETVAL=$?
|
||||
|
@ -52,8 +52,6 @@ class BotocoreClientBase(object):
|
||||
|
||||
func.__name__ = name
|
||||
setattr(self, name, types.MethodType(func, self, self.__class__))
|
||||
setattr(self.__class__, name,
|
||||
types.MethodType(func, None, self.__class__))
|
||||
return getattr(self, name)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user