1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 00:25:18 +00:00

tests: Add test for export_crl() function

This commit is contained in:
Lauri Võsandi 2017-05-01 21:06:28 +00:00
parent 128369f6f6
commit be561cc52f

View File

@ -81,6 +81,8 @@ def test_cli_setup_authority():
result = runner.invoke(cli, ['serve', '-f']) result = runner.invoke(cli, ['serve', '-f'])
assert not result.exception, result.output assert not result.exception, result.output
assert authority.export_crl(), "Failed to export CRL"
import requests import requests
# Password is bot, users created by Travis # Password is bot, users created by Travis