tests: ensure gabbi live test fail
This change ensures that the gabbi live test fail if service url is not present. Change-Id: Ic83467482555c01b3649a30f1575f745d872f5f9
This commit is contained in:
parent
b40b4513e6
commit
23a6eeedba
@ -44,3 +44,5 @@ def load_tests(loader, tests, pattern):
|
||||
host=parsed_url.hostname,
|
||||
port=port,
|
||||
prefix=prefix)
|
||||
elif os.getenv('GABBI_LIVE_FAIL_IF_NO_TEST'):
|
||||
raise RuntimeError('AODH_SERVICE_URL is not set')
|
||||
|
Loading…
x
Reference in New Issue
Block a user