feat: add ability to output just the sans in a space separated list
tests: add test for --san-only
This commit is contained in:
parent
61a92c5c63
commit
157da703b7
2 changed files with 17 additions and 1 deletions
|
@ -48,6 +48,12 @@ def test_san():
|
|||
assert response.exit_code == 0
|
||||
|
||||
|
||||
def test_san_only():
|
||||
"""verify --san outputs correctly"""
|
||||
response = runner.invoke(cert_main, ["www.franklin.edu", "--san-only"])
|
||||
assert response.exit_code == 0
|
||||
|
||||
|
||||
def test_bad_cert():
|
||||
"""verify an expired certificate works"""
|
||||
response = runner.invoke(cert_main, ["support.bluequill.com", "--san"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue