mitmproxy/test/conftest.py

20 lines
380 B
Python
Raw Normal View History

2017-01-23 21:53:56 +00:00
import os
2016-12-01 09:36:18 +00:00
import pytest
2017-02-14 23:27:14 +00:00
pytest_plugins = ('test.full_coverage_plugin',)
2016-12-01 09:36:18 +00:00
2017-02-01 15:17:22 +00:00
skip_windows = pytest.mark.skipif(
os.name == "nt",
reason='Skipping due to Windows'
)
skip_not_windows = pytest.mark.skipif(
os.name != "nt",
reason='Skipping due to not Windows'
)
skip_appveyor = pytest.mark.skipif(
"APPVEYOR" in os.environ,
reason='Skipping due to Appveyor'
)