MCPcopy
hub / github.com/apache/airflow / skip_system_test

Function skip_system_test

tests/conftest.py:282–290  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

280
281
282def skip_system_test(item):
283 for marker in item.iter_markers(name="system"):
284 pytest.skip(
285 "The test is skipped because it has system marker. "
286 "System tests are only run when --system flag "
287 "with the right system ({system}) is passed to pytest. {item}".format(
288 system=marker.args[0], item=item
289 )
290 )
291
292
293def skip_long_running_test(item):

Callers 1

pytest_runtest_setupFunction · 0.85

Calls 2

skipMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected