mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 16:25:17 +00:00
More code coverage
This commit is contained in:
parent
db3b89c71f
commit
2596543025
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user