Javier Jardón pushed to branch master at BuildStream / buildstream
Commits:
1 changed file:
Changes:
| ... | ... | @@ -32,7 +32,7 @@ def pytest_addoption(parser): |
| 32 | 32 |
|
| 33 | 33 |
|
| 34 | 34 |
def pytest_runtest_setup(item):
|
| 35 |
- if item.get_marker('integration') and not item.config.getvalue('integration'):
|
|
| 35 |
+ if item.get_closest_marker('integration') and not item.config.getvalue('integration'):
|
|
| 36 | 36 |
pytest.skip('skipping integration test')
|
| 37 | 37 |
|
| 38 | 38 |
|
