summaryrefslogtreecommitdiff
path: root/tests/unittests/test_runs/test_simple_run.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/test_runs/test_simple_run.py')
-rw-r--r--tests/unittests/test_runs/test_simple_run.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/unittests/test_runs/test_simple_run.py b/tests/unittests/test_runs/test_simple_run.py
index 1e852e1e..22d6cf2c 100644
--- a/tests/unittests/test_runs/test_simple_run.py
+++ b/tests/unittests/test_runs/test_simple_run.py
@@ -1,14 +1,6 @@
import os
-import sys
-# Allow running this test individually
-top_dir = os.path.join(os.path.dirname(__file__), os.pardir, "helpers.py")
-top_dir = os.path.abspath(top_dir)
-if os.path.exists(top_dir):
- sys.path.insert(0, os.path.dirname(top_dir))
-
-
-import helpers
+from tests.unittests import helpers
from cloudinit.settings import (PER_INSTANCE)
from cloudinit import stages