Define shell.COMMANDS explicitly to avoid random UT failure
Mocking non-existing attribute causes UT faillure. As a result, neutronclient UT fails depending on executing order of tests. Change-Id: Id047527fba9e908938f7157781fb0e36e76011c7 Closes-Bug: #1709652
This commit is contained in:
parent
f9bac29542
commit
4c3fbe2639
@ -103,6 +103,9 @@ def check_non_negative_int(value):
|
||||
return value
|
||||
|
||||
|
||||
COMMANDS = {}
|
||||
|
||||
|
||||
# NOTE(amotoki): This is only to provide compatibility
|
||||
# to existing neutron CLI extensions. See bug 1706573 for detail.
|
||||
def _set_commands_dict_for_compat(apiversion, command_manager):
|
||||
|
Loading…
Reference in New Issue
Block a user