From 77d7d9fbab9d1fdb36d3f3df23c931bba089e6d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 1 May 2017 17:06:39 +0000 Subject: [PATCH] tests: Lazier imports --- tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index ca3799e..7c9732c 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,7 +1,6 @@ import subprocess import pwd from click.testing import CliRunner -from certidude.cli import entry_point as cli from datetime import datetime, timedelta import pytest @@ -70,6 +69,7 @@ def test_cli_setup_authority(): if os.path.exists("/etc/openvpn/keys"): shutil.rmtree("/etc/openvpn/keys") + from certidude.cli import entry_point as cli from certidude import const result = runner.invoke(cli, ['setup', 'authority'])