Bump up to newer hacking
global requirements has the newer hacking version, so we should bump our version as well. Closes-Bug: #1454853 Change-Id: Ief8c2f6943a7884ed15b264826bb19f2f12962a6
This commit is contained in:
@@ -50,4 +50,4 @@ class TestCase(testtools.TestCase):
|
|||||||
stderr = self.useFixture(fixtures.StringStream('stderr')).stream
|
stderr = self.useFixture(fixtures.StringStream('stderr')).stream
|
||||||
self.useFixture(fixtures.MonkeyPatch('sys.stderr', stderr))
|
self.useFixture(fixtures.MonkeyPatch('sys.stderr', stderr))
|
||||||
|
|
||||||
self.log_fixture = self.useFixture(fixtures.FakeLogger())
|
self.log_fixture = self.useFixture(fixtures.FakeLogger())
|
||||||
|
@@ -24,4 +24,4 @@ from magnumclient.tests import base
|
|||||||
class TestMagnumclient(base.TestCase):
|
class TestMagnumclient(base.TestCase):
|
||||||
|
|
||||||
def test_something(self):
|
def test_something(self):
|
||||||
pass
|
pass
|
||||||
|
@@ -97,7 +97,7 @@ class FakeResponse(object):
|
|||||||
return self.body.read(amt)
|
return self.body.read(amt)
|
||||||
|
|
||||||
|
|
||||||
class FakeServiceCatalog():
|
class FakeServiceCatalog(object):
|
||||||
def url_for(self, endpoint_type, service_type, attr=None,
|
def url_for(self, endpoint_type, service_type, attr=None,
|
||||||
filter_value=None):
|
filter_value=None):
|
||||||
if attr == 'region' and filter_value:
|
if attr == 'region' and filter_value:
|
||||||
@@ -106,7 +106,7 @@ class FakeServiceCatalog():
|
|||||||
return 'http://localhost:6385/v1/f14b41234'
|
return 'http://localhost:6385/v1/f14b41234'
|
||||||
|
|
||||||
|
|
||||||
class FakeKeystone():
|
class FakeKeystone(object):
|
||||||
service_catalog = FakeServiceCatalog()
|
service_catalog = FakeServiceCatalog()
|
||||||
timestamp = datetime.datetime.utcnow() + datetime.timedelta(days=5)
|
timestamp = datetime.datetime.utcnow() + datetime.timedelta(days=5)
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
# The order of packages is significant, because pip processes them in the order
|
# 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
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
hacking>=0.9.2,<0.10
|
hacking>=0.10.0,<0.11
|
||||||
|
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
discover
|
discover
|
||||||
|
Reference in New Issue
Block a user