summaryrefslogtreecommitdiff
path: root/tests/functional
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/cli/test_cli_packages.py3
-rw-r--r--tests/functional/cli/test_cli_v4.py4
-rw-r--r--tests/functional/cli/test_cli_variables.py5
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/functional/cli/test_cli_packages.py b/tests/functional/cli/test_cli_packages.py
index d7cdd18..a0716dc 100644
--- a/tests/functional/cli/test_cli_packages.py
+++ b/tests/functional/cli/test_cli_packages.py
@@ -1,7 +1,10 @@
+import pytest
+
package_name = "hello-world"
package_version = "v1.0.0"
file_name = "hello.tar.gz"
file_content = "package content"
+pytestmark = pytest.mark.script_launch_mode("subprocess")
def test_list_project_packages(gitlab_cli, project):
diff --git a/tests/functional/cli/test_cli_v4.py b/tests/functional/cli/test_cli_v4.py
index 91c0afa..e220996 100644
--- a/tests/functional/cli/test_cli_v4.py
+++ b/tests/functional/cli/test_cli_v4.py
@@ -1,6 +1,10 @@
import os
import time
+import pytest
+
+pytestmark = pytest.mark.script_launch_mode("subprocess")
+
def test_create_project(gitlab_cli):
name = "test-project1"
diff --git a/tests/functional/cli/test_cli_variables.py b/tests/functional/cli/test_cli_variables.py
index 9b1b16d..5013856 100644
--- a/tests/functional/cli/test_cli_variables.py
+++ b/tests/functional/cli/test_cli_variables.py
@@ -1,3 +1,8 @@
+import pytest
+
+pytestmark = pytest.mark.script_launch_mode("subprocess")
+
+
def test_list_instance_variables(gitlab_cli, gl):
cmd = ["variable", "list"]
ret = gitlab_cli(cmd)