Fix tests
diff --git a/tests/pipeline/load.py b/tests/pipeline/load.py
index 9cd2fea..eeeeb1d 100644
--- a/tests/pipeline/load.py
+++ b/tests/pipeline/load.py
@@ -14,17 +14,6 @@
)
-def create_pipeline(tmpdir, basedir, target):
- context = Context([])
- project = Project(basedir, context)
-
- context.deploydir = os.path.join(str(tmpdir), 'deploy')
- context.artifactdir = os.path.join(str(tmpdir), 'artifact')
- context._platform = Platform.get_platform()
-
- return Pipeline(context, project, [target])
-
-
@pytest.mark.datafiles(os.path.join(DATA_DIR, 'simple'))
def test_load_simple(cli, datafiles, tmpdir):
basedir = os.path.join(datafiles.dirname, datafiles.basename)
diff --git a/tests/plugins/pipeline.py b/tests/plugins/pipeline.py
index 5f1a85e..8f85253 100644
--- a/tests/plugins/pipeline.py
+++ b/tests/plugins/pipeline.py
@@ -24,7 +24,7 @@
context.artifactdir = os.path.join(str(tmpdir), 'artifact')
context._platform = Platform.get_platform()
- return Pipeline(context, project, [target])
+ return Pipeline(context, project, [target], [])
@pytest.mark.skipif(not HAVE_ROOT, reason="requires root permissions")
diff --git a/tests/project/plugins.py b/tests/project/plugins.py
index 5f75172..ea21730 100644
--- a/tests/project/plugins.py
+++ b/tests/project/plugins.py
@@ -21,7 +21,7 @@
context.artifactdir = os.path.join(str(tmpdir), 'artifact')
context._platform = Platform.get_platform()
- return Pipeline(context, project, [target])
+ return Pipeline(context, project, [target], [])
# We've already validated that the plugin system works in
diff --git a/tests/variables/variables.py b/tests/variables/variables.py
index 7562857..04ac921 100644
--- a/tests/variables/variables.py
+++ b/tests/variables/variables.py
@@ -20,7 +20,7 @@
context.artifactdir = os.path.join(str(tmpdir), 'artifact')
context._platform = Platform.get_platform()
- return Pipeline(context, project, [target])
+ return Pipeline(context, project, [target], [])
def assert_command(datafiles, tmpdir, target, command, expected):