mirror of
https://github.com/laurivosandi/certidude
synced 2025-09-06 13:51:12 +00:00
More code coverage
This commit is contained in:
@@ -37,6 +37,9 @@ def test_cli_setup_authority():
|
||||
authority.store_request(
|
||||
csr.sign(key, hashes.SHA256(), default_backend()).public_bytes(serialization.Encoding.PEM))
|
||||
|
||||
result = runner.invoke(cli, ['list', '-srv'])
|
||||
assert not result.exception
|
||||
|
||||
result = runner.invoke(cli, ['sign', 'test', '-o'])
|
||||
assert not result.exception
|
||||
|
||||
@@ -48,3 +51,6 @@ def test_cli_setup_authority():
|
||||
|
||||
result = runner.invoke(cli, ['list', '-srv'])
|
||||
assert not result.exception
|
||||
|
||||
result = runner.invoke(cli, ['cron'])
|
||||
assert not result.exception
|
||||
|
Reference in New Issue
Block a user