Skip to content

Commit 657c8e0

Browse files
committed
lib360dataquality: threesixtygiving: Add the test type and count
When we consume this using other tools we need this information.
1 parent b611fab commit 657c8e0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib360dataquality/cove/threesixtygiving.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,12 @@ def process(self, grant, path_prefix):
459459
pass
460460

461461
def produce_message(self):
462-
return {"heading": self.heading, "message": self.message}
462+
return {
463+
"heading": self.heading,
464+
"message": self.message,
465+
"type": self.__class__.__name__,
466+
"count": self.count,
467+
}
463468

464469
def get_heading_count(self, test_class_type):
465470
if test_class_type == QUALITY_TEST_CLASS:

0 commit comments

Comments
 (0)