--os-profile option suddenly causes trouble in unit tests
I'll be honest, I have no idea yet why importing osprofiler.profiler now fails (shell.py:42). Life is short and its dinnertime... Change-Id: Ic4d1ed6d665e3795fea6d6c6954dd1facab4f5db
This commit is contained in:
parent
b42a26e981
commit
6ea20b856c
@ -112,9 +112,10 @@ global_options = {
|
|||||||
'--os-default-domain': (DEFAULT_DOMAIN_NAME, True, True),
|
'--os-default-domain': (DEFAULT_DOMAIN_NAME, True, True),
|
||||||
'--os-cacert': ('/dev/null', True, True),
|
'--os-cacert': ('/dev/null', True, True),
|
||||||
'--timing': (True, True, False),
|
'--timing': (True, True, False),
|
||||||
'--os-profile': ('SECRET_KEY', True, True),
|
|
||||||
'--os-interface': (DEFAULT_INTERFACE, True, True)
|
'--os-interface': (DEFAULT_INTERFACE, True, True)
|
||||||
}
|
}
|
||||||
|
if shell.osprofiler_profiler:
|
||||||
|
global_options['--os-profile'] = ('SECRET_KEY', True, True)
|
||||||
|
|
||||||
|
|
||||||
class TestShellArgV(utils.TestShell):
|
class TestShellArgV(utils.TestShell):
|
||||||
|
Loading…
Reference in New Issue
Block a user