.generator/conftest.py in datadog_api_client-2.12.0 vs .generator/conftest.py in datadog_api_client-2.13.0

- old
+ new

@@ -458,12 +458,19 @@ @then(parsers.parse('the response "{response_path}" is false')) def expect_false(context, response_path): """Check that a response attribute is false.""" + +@then(parsers.parse('the response "{response_path}" has field "{field}"')) +def expect_response_has_field(context, response_path, field): + """Check that a response has field.""" + + @then(parsers.parse('the response "{response_path}" has item with field "{key_path}" with value {value}')) def expect_array_contains_object(context, response_path, key_path, value): """Check that a response attribute contains an object with the specified key and value.""" + @then(parsers.parse('the response "{response_path}" array contains value {value}')) def expect_array_contains_value(context, response_path, value): """Check that a response array contains the specified value."""