summaryrefslogtreecommitdiffstats
path: root/test/framework.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-07-13 09:35:38 -0400
committerNeale Ranns <nranns@cisco.com>2019-07-14 17:13:20 +0000
commitf7457521b63391a571711f66fcbd24d7c0d19270 (patch)
treeeaa8315a847d84586274fc5c4a89614b10c40f13 /test/framework.py
parentb957d807a6003cceecca9002410d66cf7445e9cd (diff)
tests: fix error in VppDiedError exception
Discovered running test-debug job in CI. - fix missing paren () around format value. Type: test Change-Id: Iebddd3035a435f8ad1cb1d6fa4e8e8c2d4ddaf96 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/framework.py')
-rw-r--r--test/framework.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/framework.py b/test/framework.py
index e5a970b9698..59c451d475c 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -114,8 +114,8 @@ class VppDiedError(Exception):
msg = "VPP subprocess died %sunexpectedly with return code: %d%s." % (
in_msg,
self.rv,
- ' [%s]' % self.signal_name if
- self.signal_name is not None else '')
+ ' [%s]' % (self.signal_name if
+ self.signal_name is not None else ''))
super(VppDiedError, self).__init__(msg)