Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/oai endpoints mapper using JSON #2929

Merged
merged 12 commits into from
May 20, 2024
Prev Previous commit
feat: config run all
  • Loading branch information
Van-QA committed May 20, 2024
commit 81a7539d094909bf730dae690e552867d640fbd8
2 changes: 1 addition & 1 deletion docs/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 15,7 @@ def pytest_configure(config):

def pytest_runtest_setup(item):
getoption = item.config.getoption("--endpoint").split(",")
if getoption != ["all"]:
if getoption not in (["all"], [''], [""]):
endpoint_names = [mark.args[0] for mark in item.iter_markers(name="endpoint")]
if not endpoint_names or not set(getoption).intersection(set(endpoint_names)):
pytest.skip("Test skipped because endpoint is {!r}".format(endpoint_names))
Expand Down
Loading