Update test-requirements hacking

The version of "hacking" in our test-requirements.txt was out of date.
This patch updates that to the current global requirements version
and corrects the errors returned by the new version.

Change-Id: Ia1555cef868a8d215213b465fa6af666b1e81e80
This commit is contained in:
Michael Johnson 2017-02-13 15:04:29 -08:00
parent bcd6f592d3
commit ada92f7c0b
5 changed files with 5 additions and 5 deletions

View File

@ -38,4 +38,4 @@ class LBaaSController(BaseV2Controller):
class V2Controller(BaseV2Controller):
lbaas = LBaaSController()
lbaas = LBaaSController()

View File

@ -51,4 +51,4 @@ def rename_kwargs(**renamed_kwargs):
cls.__setattr__ = __setattr__
return cls(*args, **kwargs)
return wrapped_cls
return wrap
return wrap

View File

@ -21,7 +21,7 @@ from octavia.common import constants
LOG = logging.getLogger(__name__)
class KeystoneSession:
class KeystoneSession(object):
def __init__(self, section=constants.SERVICE_AUTH):
self._session = None

View File

@ -36,4 +36,4 @@ def upgrade():
op.add_column(
table,
sa.Column(u'name', sa.String(255), nullable=True)
)
)

View File

@ -1,7 +1,7 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking<0.10,>=0.9.1
hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0
requests-mock>=1.1 # Apache-2.0
coverage>=4.0 # Apache-2.0
mock>=2.0 # BSD