Skip to content

Commit 79f1b3b

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Bump hacking"
2 parents 4fb657b + e8bbd6e commit 79f1b3b

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

glanceclient/tests/unit/test_shell.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,12 @@ def setUp(self):
132132
headers=headers,
133133
json=V3_TOKEN)
134134

135-
global shell, _shell, assert_called, assert_called_anytime
135+
global shell, _shell
136136
_shell = openstack_shell.OpenStackImagesShell()
137137
shell = lambda cmd: _shell.main(cmd.split())
138138

139139
def tearDown(self):
140140
super(ShellTest, self).tearDown()
141-
global _old_env
142141
os.environ = _old_env
143142

144143
def shell(self, argstr, exitcodes=(0,)):

glanceclient/tests/unit/v2/test_shell_v2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838

3939
# Set our own decorator that calls the original but with simulated schema
4040
def schema_args(schema_getter, omit=None):
41-
global original_schema_args
4241
# We only add the 2 arguments that are required by image-create
4342
my_schema_getter = lambda: {
4443
'properties': {

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
hacking>=6.1.0,<6.2.0 # Apache-2.0
1+
hacking>=8.1.0,<8.2.0 # Apache-2.0
22
coverage!=4.4,>=4.0 # Apache-2.0
33
openstacksdk>=0.10.0 # Apache-2.0
44
stestr>=2.0.0 # Apache-2.0

0 commit comments

Comments
 (0)