mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 16:25:17 +00:00
tests: Check for existence of /etc/openvpn
This commit is contained in:
parent
2629709709
commit
f7248cb8d8
@ -59,6 +59,7 @@ def test_cli_setup_authority():
|
||||
os.unlink("/etc/certidude/client.conf")
|
||||
|
||||
# Remove OpenVPN stuff
|
||||
if os.path.exists("/etc/openvpn"):
|
||||
for filename in os.listdir("/etc/openvpn"):
|
||||
if filename.endswith(".conf"):
|
||||
os.unlink(os.path.join("/etc/openvpn", filename))
|
||||
|
Loading…
Reference in New Issue
Block a user