From c5764d71db430db6c4f5369733eb714a1d2d382d Mon Sep 17 00:00:00 2001 From: ZhijunWei Date: Fri, 28 Dec 2018 22:52:08 +0800 Subject: [PATCH] Update hacking version Change-Id: I7009b639743c22f885cebd532a3d6c1b0f9f1226 --- oslo_policy/fixture.py | 4 ++-- oslo_policy/opts.py | 9 ++++----- test-requirements.txt | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/oslo_policy/fixture.py b/oslo_policy/fixture.py index e0b5107d..4980caa4 100644 --- a/oslo_policy/fixture.py +++ b/oslo_policy/fixture.py @@ -10,10 +10,10 @@ # License for the specific language governing permissions and limitations # under the License. -__all__ = ['HttpCheckFixture', 'HttpsCheckFixture'] - import fixtures +__all__ = ['HttpCheckFixture', 'HttpsCheckFixture'] + class HttpCheckFixture(fixtures.Fixture): """Helps short circuit the external http call""" diff --git a/oslo_policy/opts.py b/oslo_policy/opts.py index 368797fc..0383b4ad 100644 --- a/oslo_policy/opts.py +++ b/oslo_policy/opts.py @@ -10,17 +10,16 @@ # License for the specific language governing permissions and limitations # under the License. -__all__ = [ - 'list_opts', - 'set_defaults', -] - import copy from oslo_config import cfg from oslo_policy._i18n import _ +__all__ = [ + 'list_opts', + 'set_defaults', +] _option_group = 'oslo_policy' diff --git a/test-requirements.txt b/test-requirements.txt index deb4d41d..e701ce80 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=1.1.0,<1.2.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 requests-mock>=1.1.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0