test: add test for file input
This commit is contained in:
parent
310a9f7ffe
commit
ef5756bd95
1 changed files with 6 additions and 0 deletions
|
@ -52,3 +52,9 @@ def test_bad_cert():
|
|||
"""verify an expired certificate works"""
|
||||
response = runner.invoke(cert_main, ["support.bluequill.com", "--san"])
|
||||
assert response.exit_code == 0
|
||||
|
||||
|
||||
def test_from_file():
|
||||
"""Verify loading domains from file"""
|
||||
response = runner.invoke(cert_main, ["--filename", "ci/test_domains.txt"])
|
||||
assert response.exit_code == 0
|
||||
|
|
Loading…
Reference in a new issue