From 1e9033aa80585945dfd12bad9026a2c77d8b5899 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 3 Apr 2015 13:55:07 +0000 Subject: [PATCH] Update hacking to kilo level Update the hacking requirement to the version used by kilo, and fix code that fails the new tests. Change-Id: I6e18878e4ba826528af82438f4e4394cc644d623 --- oslo_config/tests/test_cfg.py | 2 +- test-requirements.txt | 2 +- tests/test_cfg.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/oslo_config/tests/test_cfg.py b/oslo_config/tests/test_cfg.py index 5518f538..6aa30de5 100644 --- a/oslo_config/tests/test_cfg.py +++ b/oslo_config/tests/test_cfg.py @@ -2894,7 +2894,7 @@ class FindFileTestCase(BaseTestCase): class OptDumpingTestCase(BaseTestCase): - class FakeLogger: + class FakeLogger(object): def __init__(self, test_case, expected_lvl): self.test_case = test_case diff --git a/test-requirements.txt b/test-requirements.txt index 9b2a5be7..a23ab6e1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking>=0.9.2,<0.10 +hacking>=0.10.0,<0.11 discover fixtures>=0.3.14 diff --git a/tests/test_cfg.py b/tests/test_cfg.py index 49461da6..50965a71 100644 --- a/tests/test_cfg.py +++ b/tests/test_cfg.py @@ -2870,7 +2870,7 @@ class FindFileTestCase(BaseTestCase): class OptDumpingTestCase(BaseTestCase): - class FakeLogger: + class FakeLogger(object): def __init__(self, test_case, expected_lvl): self.test_case = test_case