typo / newline in selftest log output
...because it otherwise causes confusing selftest log changes in upcoming I0972c66b9165bd7f2b0b387e0335172849199193 Change-Id: I1eec31c5baba5ef33d0c8441b1e94a00d79af9bf
This commit is contained in:
parent
081e89f477
commit
112da03e98
|
@ -1003,8 +1003,7 @@ trial suiteC test_template_overlay.py
|
|||
----------------------------------------------
|
||||
tst test_template_overlay.py:[LINENR]: - Testing: expect to fail on invalid templates overlay dir [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
|
||||
tst test_template_overlay.py:[LINENR] DBG: template dir overlay set: [PATH]/selftest/suite_test/suitedirB/suiteC/nonexistent-templatedir [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py] [testenv.py:[LINENR]]
|
||||
tst test_template_overlay.py:[LINENR]: sucess: setting non-existing templates dir raised RuntimeError [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
|
||||
tst test_template_overlay.py:[LINENR]: [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
|
||||
tst test_template_overlay.py:[LINENR]: success: setting non-existing templates dir raised RuntimeError [suiteC↪test_template_overlay.py:[LINENR]] [test_template_overlay.py:[LINENR]]
|
||||
tst test_template_overlay.py:[LINENR] DBG: template dir overlay set: [PATH]/selftest/suite_test/suitedirB/suiteC/mytemplatedir [suiteC↪test_template_overlay.py:[LINENR]↪test_template_overlay.py] [testenv.py:[LINENR]]
|
||||
--- ReservedResources: DBG: requesting use of ip_address {specifics={}} [resource.py:[LINENR]]
|
||||
tst suiteC: Using 1 x ip_address (candidates: 1) [resource.py:[LINENR]]
|
||||
|
|
|
@ -11,7 +11,7 @@ try:
|
|||
sys.stderr.write('Error: setting non-existing templates dir should raise RuntimeError\n')
|
||||
assert(False)
|
||||
except RuntimeError:
|
||||
print('sucess: setting non-existing templates dir raised RuntimeError\n')
|
||||
print('success: setting non-existing templates dir raised RuntimeError')
|
||||
pass
|
||||
|
||||
mytemplatedir = os.path.join(os.path.dirname(__file__), 'mytemplatedir')
|
||||
|
|
|
@ -189,8 +189,7 @@ ctrl
|
|||
bind val_ip_address
|
||||
|
||||
- Testing: expect to fail on invalid templates dir
|
||||
sucess: setting non-existing templates dir raised RuntimeError
|
||||
|
||||
success: setting non-existing templates dir raised RuntimeError
|
||||
- Testing: template directory overlay (still can find default one?)
|
||||
cnf Templates: DBG: rendering osmo-nitb.cfg.tmpl
|
||||
! Configuration rendered by osmo-gsm-tester
|
||||
|
|
|
@ -89,7 +89,7 @@ try:
|
|||
assert(False)
|
||||
except RuntimeError:
|
||||
# not logging exception to omit non-constant path name from expected output
|
||||
print('sucess: setting non-existing templates dir raised RuntimeError\n')
|
||||
print('success: setting non-existing templates dir raised RuntimeError')
|
||||
pass
|
||||
|
||||
mytemplatedir = os.path.join(os.path.dirname(__file__), 'mytemplatedir')
|
||||
|
|
Loading…
Reference in New Issue