mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 16:25:17 +00:00
tests: Simplify 'ca-output directory exists' test
This commit is contained in:
parent
5cddbe2a15
commit
94469f5416
@ -44,8 +44,7 @@ def test_cli_setup_authority_invalid_name():
|
||||
|
||||
def test_cli_setup_authority_overwrite():
|
||||
with runner.isolated_filesystem():
|
||||
result = runner.invoke(cli, ['setup', 'authority', 'foo'])
|
||||
assert not result.exception
|
||||
os.mkdir('foo')
|
||||
|
||||
result = runner.invoke(cli, ['setup', 'authority', 'foo'])
|
||||
assert result.exception
|
||||
|
Loading…
Reference in New Issue
Block a user