Merge "Update hacking for Python3"
This commit is contained in:
commit
d4877e7d56
@ -142,7 +142,7 @@ def stress_openstack(tests, duration, max_runs=None, stop_on_error=False):
|
|||||||
if test.get('use_admin', False):
|
if test.get('use_admin', False):
|
||||||
manager = admin_manager
|
manager = admin_manager
|
||||||
else:
|
else:
|
||||||
raise NotImplemented('Non admin tests are not supported')
|
raise NotImplementedError('Non admin tests are not supported')
|
||||||
for p_number in range(test.get('threads', default_thread_num)):
|
for p_number in range(test.get('threads', default_thread_num)):
|
||||||
if test.get('use_isolated_tenants', False):
|
if test.get('use_isolated_tenants', False):
|
||||||
username = data_utils.rand_name("stress_user")
|
username = data_utils.rand_name("stress_user")
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# 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.12,>=0.11.0 # Apache-2.0
|
hacking>=3.0,<3.1.0 # Apache-2.0
|
||||||
|
|
||||||
coverage>=3.6 # Apache-2.0
|
coverage>=3.6 # Apache-2.0
|
||||||
stestr>=1.0.0 # Apache-2.0
|
stestr>=1.0.0 # Apache-2.0
|
||||||
|
2
tox.ini
2
tox.ini
@ -49,6 +49,6 @@ commands = oslo_debug_helper {posargs}
|
|||||||
# E123, E125 skipped as they are invalid PEP-8.
|
# E123, E125 skipped as they are invalid PEP-8.
|
||||||
|
|
||||||
show-source = True
|
show-source = True
|
||||||
ignore = E123,E125
|
ignore = E123,E125,W503,W504
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user