.generator/conftest.py in datadog_api_client-2.0.1 vs .generator/conftest.py in datadog_api_client-2.0.2
- old
+ new
@@ -104,11 +104,11 @@
f.write(data)
def pytest_bdd_apply_tag(tag, function):
"""Register tags as custom markers and skip test for '@skip' ones."""
- skip_tags = {"with-pagination"}
+ skip_tags = {}
if tag in skip_tags:
marker = pytest.mark.skip(reason=f"skipped because '{tag}' in {skip_tags}")
marker(function)
return True
return False
@@ -441,9 +441,10 @@
@when("the request with pagination is sent")
def execute_request_with_pagination(context):
"""Execute the prepared request paginated."""
+ context["pagination"] = True
@then(parsers.parse("the response status is {status:d} {description}"))
def the_status_is(context, status, description):
"""Check the status."""