diff --git a/digital_land/expectations/log.py b/digital_land/expectations/log.py index 90bb8c1b..359bcae5 100644 --- a/digital_land/expectations/log.py +++ b/digital_land/expectations/log.py @@ -20,6 +20,7 @@ def __init__(self, dataset): "dataset", "organisation", "name", + "operation", "passed", "parameters", "message", diff --git a/tests/acceptance/test_run_expectations_on_sqlite.py b/tests/acceptance/test_run_expectations_on_sqlite.py index e38d4437..fc196d1f 100644 --- a/tests/acceptance/test_run_expectations_on_sqlite.py +++ b/tests/acceptance/test_run_expectations_on_sqlite.py @@ -221,6 +221,7 @@ def test_run_some_expectations( "parameters", "organisation", "dataset", + "operation", ] for field in required_fields: assert field in results[0].keys(), f"field : {field} not found in log"