Commit 594c8231 authored by Łukasz Nowak's avatar Łukasz Nowak

test: Fail visibly on capturer issue

parent 2a00f1b1
......@@ -167,7 +167,10 @@ class KedifaIntegrationTest(unittest.TestCase):
'--send-csr', csr_file
])
csr_id = captured.get_text().split()[0]
try:
csr_id = captured.get_text().split()[0]
except IndexError:
self.fail('capturer failed on %s' % (captured.get_text().split(),))
caucase.cli.main(argv=self.cas + [
'--get-crt', csr_id, kedifa_key_pem
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment