diff -r 4daf47fcf792 -r 79b6e132e3d7 script/lib/tweetstream/conftest.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/script/lib/tweetstream/conftest.py Fri Jul 01 10:15:32 2011 +0200 @@ -0,0 +1,10 @@ +# content of conftest.py + +import pytest +def pytest_addoption(parser): + parser.addoption("--runslow", action="store_true", + help="run slow tests") + +def pytest_runtest_setup(item): + if 'slow' in item.keywords and not item.config.getvalue("runslow"): + pytest.skip("need --runslow option to run") \ No newline at end of file