summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-03-01 17:45:48 +0000
committerChandan Singh <csingh43@bloomberg.net>2019-03-01 17:46:08 +0000
commit43230346bb25b7fc3dd1be07c26962d2aa639e78 (patch)
tree96145e8d0e71e5979ccc5f7fd1ef505879d041c0
parent1eba1fed210d9814a06ef2b9a24610132b18235c (diff)
downloadbuildstream-chandan/remove-unused-pytestmark.tar.gz
tests: Remove unused `pytestmark` variablechandan/remove-unused-pytestmark
-rw-r--r--tests/examples/autotools.py2
-rw-r--r--tests/examples/developing.py2
-rw-r--r--tests/examples/first-project.py3
-rw-r--r--tests/examples/flatpak-autotools.py3
-rw-r--r--tests/examples/integration-commands.py1
-rw-r--r--tests/examples/junctions.py2
-rw-r--r--tests/examples/running-commands.py1
-rw-r--r--tests/integration/artifact.py2
-rw-r--r--tests/integration/autotools.py3
-rw-r--r--tests/integration/build-uid.py2
-rw-r--r--tests/integration/cachedfail.py3
-rw-r--r--tests/integration/cmake.py3
-rw-r--r--tests/integration/compose-symlinks.py3
-rw-r--r--tests/integration/compose.py3
-rw-r--r--tests/integration/import.py3
-rw-r--r--tests/integration/make.py3
-rw-r--r--tests/integration/manual.py3
-rw-r--r--tests/integration/messages.py3
-rw-r--r--tests/integration/pip_element.py3
-rw-r--r--tests/integration/pip_source.py3
-rw-r--r--tests/integration/sandbox-bwrap.py3
-rw-r--r--tests/integration/script.py3
-rw-r--r--tests/integration/shell.py3
-rw-r--r--tests/integration/shellbuildtrees.py3
-rw-r--r--tests/integration/sockets.py2
-rw-r--r--tests/integration/stack.py3
-rw-r--r--tests/integration/symlinks.py3
-rw-r--r--tests/integration/workspace.py3
28 files changed, 0 insertions, 74 deletions
diff --git a/tests/examples/autotools.py b/tests/examples/autotools.py
index 96827ff4c..ad2127587 100644
--- a/tests/examples/autotools.py
+++ b/tests/examples/autotools.py
@@ -5,8 +5,6 @@ from buildstream.plugintestutils import cli_integration as cli
from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_BWRAP, IS_LINUX, MACHINE_ARCH
-pytestmark = pytest.mark.integration
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)), '..', '..', 'doc', 'examples', 'autotools'
)
diff --git a/tests/examples/developing.py b/tests/examples/developing.py
index 3ef78fd36..ba6674371 100644
--- a/tests/examples/developing.py
+++ b/tests/examples/developing.py
@@ -6,8 +6,6 @@ from buildstream.plugintestutils import cli_integration as cli
from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_BWRAP, IS_LINUX, MACHINE_ARCH
-pytestmark = pytest.mark.integration
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)), '..', '..', 'doc', 'examples', 'developing'
)
diff --git a/tests/examples/first-project.py b/tests/examples/first-project.py
index 35839770c..69ebae71c 100644
--- a/tests/examples/first-project.py
+++ b/tests/examples/first-project.py
@@ -6,9 +6,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import IS_LINUX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)), '..', '..', 'doc', 'examples', 'first-project'
)
diff --git a/tests/examples/flatpak-autotools.py b/tests/examples/flatpak-autotools.py
index 454b8d0bb..19a6d7cec 100644
--- a/tests/examples/flatpak-autotools.py
+++ b/tests/examples/flatpak-autotools.py
@@ -6,9 +6,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_OSTREE, IS_LINUX, MACHINE_ARCH
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)), '..', '..', 'doc', 'examples', 'flatpak-autotools'
)
diff --git a/tests/examples/integration-commands.py b/tests/examples/integration-commands.py
index abc64d951..4a91a5a7a 100644
--- a/tests/examples/integration-commands.py
+++ b/tests/examples/integration-commands.py
@@ -6,7 +6,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_BWRAP, IS_LINUX, MACHINE_ARCH
-pytestmark = pytest.mark.integration
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)), '..', '..', 'doc', 'examples', 'integration-commands'
)
diff --git a/tests/examples/junctions.py b/tests/examples/junctions.py
index 3992b1520..6ce808881 100644
--- a/tests/examples/junctions.py
+++ b/tests/examples/junctions.py
@@ -5,8 +5,6 @@ from buildstream.plugintestutils import cli_integration as cli
from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import IS_LINUX, HAVE_BWRAP, MACHINE_ARCH
-pytestmark = pytest.mark.integration
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)), '..', '..', 'doc', 'examples', 'junctions'
)
diff --git a/tests/examples/running-commands.py b/tests/examples/running-commands.py
index 6290204a9..5ce54382c 100644
--- a/tests/examples/running-commands.py
+++ b/tests/examples/running-commands.py
@@ -6,7 +6,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import IS_LINUX, HAVE_BWRAP, MACHINE_ARCH
-pytestmark = pytest.mark.integration
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)), '..', '..', 'doc', 'examples', 'running-commands'
)
diff --git a/tests/integration/artifact.py b/tests/integration/artifact.py
index 58e58bdcf..311ac3002 100644
--- a/tests/integration/artifact.py
+++ b/tests/integration/artifact.py
@@ -31,8 +31,6 @@ from tests.testutils.site import HAVE_SANDBOX
from buildstream._cas import CASCache
from buildstream._exceptions import ErrorDomain
-pytestmark = pytest.mark.integration
-
# Project directory
DATA_DIR = os.path.join(
diff --git a/tests/integration/autotools.py b/tests/integration/autotools.py
index 3ed0533cf..726012de3 100644
--- a/tests/integration/autotools.py
+++ b/tests/integration/autotools.py
@@ -6,9 +6,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/build-uid.py b/tests/integration/build-uid.py
index 88b887b5e..278213631 100644
--- a/tests/integration/build-uid.py
+++ b/tests/integration/build-uid.py
@@ -8,8 +8,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_BWRAP, IS_LINUX, HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/cachedfail.py b/tests/integration/cachedfail.py
index ad91ea978..aa2769643 100644
--- a/tests/integration/cachedfail.py
+++ b/tests/integration/cachedfail.py
@@ -10,9 +10,6 @@ from tests.testutils import create_artifact_share
from tests.testutils.site import HAVE_BWRAP, IS_LINUX, HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/cmake.py b/tests/integration/cmake.py
index 51e215655..6f98f3088 100644
--- a/tests/integration/cmake.py
+++ b/tests/integration/cmake.py
@@ -6,9 +6,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/compose-symlinks.py b/tests/integration/compose-symlinks.py
index 027feea7c..c7801b45f 100644
--- a/tests/integration/compose-symlinks.py
+++ b/tests/integration/compose-symlinks.py
@@ -9,9 +9,6 @@ from buildstream.plugintestutils import cli_integration as cli
from buildstream.plugintestutils.integration import walk_dir
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/compose.py b/tests/integration/compose.py
index 386e08438..277f3c77c 100644
--- a/tests/integration/compose.py
+++ b/tests/integration/compose.py
@@ -10,9 +10,6 @@ from buildstream.plugintestutils.integration import walk_dir
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/import.py b/tests/integration/import.py
index deef66bc1..1bea815dc 100644
--- a/tests/integration/import.py
+++ b/tests/integration/import.py
@@ -7,9 +7,6 @@ from buildstream.plugintestutils import cli_integration as cli
from buildstream.plugintestutils.integration import walk_dir
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/make.py b/tests/integration/make.py
index a76fe9a41..9dffc41c2 100644
--- a/tests/integration/make.py
+++ b/tests/integration/make.py
@@ -6,9 +6,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/manual.py b/tests/integration/manual.py
index 97cbec537..4e06dced0 100644
--- a/tests/integration/manual.py
+++ b/tests/integration/manual.py
@@ -7,9 +7,6 @@ from buildstream.plugintestutils import cli_integration as cli
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/messages.py b/tests/integration/messages.py
index 7f4194e0f..90492dfba 100644
--- a/tests/integration/messages.py
+++ b/tests/integration/messages.py
@@ -26,9 +26,6 @@ from buildstream.plugintestutils import cli_integration as cli
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
# Project directory
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
diff --git a/tests/integration/pip_element.py b/tests/integration/pip_element.py
index 48ca13bf5..104a4bbba 100644
--- a/tests/integration/pip_element.py
+++ b/tests/integration/pip_element.py
@@ -9,9 +9,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/pip_source.py b/tests/integration/pip_source.py
index 993b3a182..a25d45e7d 100644
--- a/tests/integration/pip_source.py
+++ b/tests/integration/pip_source.py
@@ -9,9 +9,6 @@ from tests.testutils.python_repo import setup_pypi_repo
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/sandbox-bwrap.py b/tests/integration/sandbox-bwrap.py
index 2c939e9be..f73f13d71 100644
--- a/tests/integration/sandbox-bwrap.py
+++ b/tests/integration/sandbox-bwrap.py
@@ -8,9 +8,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_BWRAP, HAVE_BWRAP_JSON_STATUS
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/script.py b/tests/integration/script.py
index 0297a3f0a..93cd240e9 100644
--- a/tests/integration/script.py
+++ b/tests/integration/script.py
@@ -6,9 +6,6 @@ from buildstream.plugintestutils import cli_integration as cli
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/shell.py b/tests/integration/shell.py
index 97c4d0cad..e03768c63 100644
--- a/tests/integration/shell.py
+++ b/tests/integration/shell.py
@@ -7,9 +7,6 @@ from buildstream.plugintestutils import cli_integration as cli
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/shellbuildtrees.py b/tests/integration/shellbuildtrees.py
index 3fd761f05..4e6f5b0aa 100644
--- a/tests/integration/shellbuildtrees.py
+++ b/tests/integration/shellbuildtrees.py
@@ -8,9 +8,6 @@ from buildstream.plugintestutils import cli, cli_integration
from buildstream._exceptions import ErrorDomain
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/sockets.py b/tests/integration/sockets.py
index fc2fb2b92..14ffc64f4 100644
--- a/tests/integration/sockets.py
+++ b/tests/integration/sockets.py
@@ -7,8 +7,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/stack.py b/tests/integration/stack.py
index d5208d7be..1f5b1fd73 100644
--- a/tests/integration/stack.py
+++ b/tests/integration/stack.py
@@ -6,9 +6,6 @@ from buildstream.plugintestutils import cli_integration as cli
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/symlinks.py b/tests/integration/symlinks.py
index 5db09d3d0..d48a1ffc1 100644
--- a/tests/integration/symlinks.py
+++ b/tests/integration/symlinks.py
@@ -9,9 +9,6 @@ from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_SANDBOX
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"
diff --git a/tests/integration/workspace.py b/tests/integration/workspace.py
index f1d8d6fcd..21f0ccb69 100644
--- a/tests/integration/workspace.py
+++ b/tests/integration/workspace.py
@@ -7,9 +7,6 @@ from tests.testutils.site import HAVE_SANDBOX
from buildstream.plugintestutils.integration import walk_dir
-pytestmark = pytest.mark.integration
-
-
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"project"