Commit 2f0af261 authored by Vincent Pelletier's avatar Vincent Pelletier

test: Increase coverage a bit more.

parent 27ba6401
...@@ -1711,13 +1711,15 @@ class CaucaseTest(unittest.TestCase): ...@@ -1711,13 +1711,15 @@ class CaucaseTest(unittest.TestCase):
'--db', server_db2, '--db', server_db2,
'--import-ca', exported_ca, '--import-ca', exported_ca,
'--import-crl', self._client_crl, '--import-crl', self._client_crl,
# Twice, for code coverage...
'--import-crl', self._client_crl,
), ),
) )
self.assertTrue(os.path.exists(server_db2), server_db2) self.assertTrue(os.path.exists(server_db2), server_db2)
self.assertEqual( self.assertEqual(
[ [
'Imported 1 CA certificates', 'Imported 1 CA certificates',
'Revoked 1 certificates (0 were already revoked)', 'Revoked 1 certificates (1 were already revoked)',
], ],
stdout.getvalue().splitlines(), stdout.getvalue().splitlines(),
) )
......
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