aboutsummaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-12-04 18:03:22 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2020-12-11 00:19:13 +0100
commit112da03e98048374020ef2a41f9bb6f77f1ad447 (patch)
treed7e7607a10ced51f24c3c43e1367b7ddb7687e40 /selftest
parent081e89f477d3a0209d1dddb652040c43b2b0b6ca (diff)
typo / newline in selftest log output
...because it otherwise causes confusing selftest log changes in upcoming I0972c66b9165bd7f2b0b387e0335172849199193 Change-Id: I1eec31c5baba5ef33d0c8441b1e94a00d79af9bf
Diffstat (limited to 'selftest')
-rw-r--r--selftest/suite_test/suite_test.ok3
-rw-r--r--selftest/suite_test/suitedirB/suiteC/test_template_overlay.py2
-rw-r--r--selftest/template_test/template_test.ok3
-rwxr-xr-xselftest/template_test/template_test.py2
4 files changed, 4 insertions, 6 deletions
diff --git a/selftest/suite_test/suite_test.ok b/selftest/suite_test/suite_test.ok
index 2c49c19..caf5a5b 100644
--- a/selftest/suite_test/suite_test.ok
+++ b/selftest/suite_test/suite_test.ok
@@ -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]]
diff --git a/selftest/suite_test/suitedirB/suiteC/test_template_overlay.py b/selftest/suite_test/suitedirB/suiteC/test_template_overlay.py
index 2dd9378..7d35138 100644
--- a/selftest/suite_test/suitedirB/suiteC/test_template_overlay.py
+++ b/selftest/suite_test/suitedirB/suiteC/test_template_overlay.py
@@ -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')
diff --git a/selftest/template_test/template_test.ok b/selftest/template_test/template_test.ok
index 718ef6e..39b0cd3 100644
--- a/selftest/template_test/template_test.ok
+++ b/selftest/template_test/template_test.ok
@@ -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
diff --git a/selftest/template_test/template_test.py b/selftest/template_test/template_test.py
index 52976e5..9dc967f 100755
--- a/selftest/template_test/template_test.py
+++ b/selftest/template_test/template_test.py
@@ -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')