From 310bc226fc016d533ac400cdc5eb7014edeaa483 Mon Sep 17 00:00:00 2001 From: eveleighoj <35256612+eveleighoj@users.noreply.github.com> Date: Thu, 5 Dec 2024 16:44:30 +0000 Subject: [PATCH] add ops (#305) * add ops * typo --- digital_land/expectations/log.py | 1 + tests/acceptance/test_run_expectations_on_sqlite.py | 1 + 2 files changed, 2 insertions(+) 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"