openapi-spec-validator icon indicating copy to clipboard operation
openapi-spec-validator copied to clipboard

add a network marker to ease disabling network-dependent tests

Open apteryks opened this issue 3 years ago • 0 comments

Hello,

About half the tests reach out to github to fetch various resources; it'd be nice to be able to invoke pytest -m "not network" to run the tests which do not need a network-enabled environment. Currently this can be accomplished via pytest -k "not Example and not Exampe", but that's not great.

Thanks for your consideration!

apteryks avatar Apr 17 '22 18:04 apteryks