From 9ca60ed8061e2b9623f3cd4ef21d816c256df70f Mon Sep 17 00:00:00 2001
From: Bjoern Ludwig <bjoern.ludwig@ptb.de>
Date: Sat, 21 Jan 2023 12:56:05 +0100
Subject: [PATCH] Revert "refactor(test dataset): remove testing of strict hash
 checking due to performance reasons"

This reverts commit 13677c1c
---
 tests/test_zema_dataset.py | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/tests/test_zema_dataset.py b/tests/test_zema_dataset.py
index 18b7421..d9c4705 100644
--- a/tests/test_zema_dataset.py
+++ b/tests/test_zema_dataset.py
@@ -10,6 +10,7 @@ from zema_emc_annotated import dataset
 from zema_emc_annotated.data_types import UncertainArray
 from zema_emc_annotated.dataset import (
     ExtractionDataType,
+    ZEMA_DATASET_HASH,
     ZEMA_DATASET_URL,
     ZEMA_QUANTITIES,
     ZeMASamples,
@@ -110,6 +111,18 @@ def test_dataset_attribute_ZEMA_DATASET_URL_in_all() -> None:
     assert "ZEMA_DATASET_URL" in dataset.__all__
 
 
+def test_dataset_has_attribute_ZEMA_DATASET_HASH() -> None:
+    assert hasattr(dataset, "ZEMA_DATASET_HASH")
+
+
+def test_dataset_attribute_ZEMA_DATASET_HASH() -> None:
+    assert isinstance(ZEMA_DATASET_HASH, str)
+
+
+def test_dataset_attribute_ZEMA_DATASET_HASH_in_all() -> None:
+    assert "ZEMA_DATASET_HASH" in dataset.__all__
+
+
 def test_dataset_has_attribute_zema_samples() -> None:
     assert hasattr(dataset, "ZeMASamples")
 
-- 
GitLab