Expectations utils
Utilities to be used by custom expectations.
validate_result(expectation_configuration, metrics)
¶
Validates that the unexpected_index_list in the tests is corretly defined.
Additionally, it validates the expectation using the GE _validate method.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
expectation_configuration
|
Any
|
Expectation configuration. |
required |
metrics
|
dict
|
Test result metrics. |
required |
runtime_configuration
|
Configuration used when running the expectation. |
required | |
execution_engine
|
Execution engine used in the expectation. |
required | |
base_expectation
|
Base expectation to validate. |
required |