summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conftest.py b/conftest.py
index f3c09a5fb..b0b1e280e 100755
--- a/conftest.py
+++ b/conftest.py
@@ -32,7 +32,7 @@ def pytest_addoption(parser):
def pytest_runtest_setup(item):
- if item.get_marker('integration') and not item.config.getvalue('integration'):
+ if item.get_closest_marker('integration') and not item.config.getvalue('integration'):
pytest.skip('skipping integration test')