diff --git a/tests/test_zema_dataset.py b/tests/test_zema_dataset.py index 18b7421dde10f0603b0ef8da44358122e1ad4256..d9c47050c82d9897dda4ab7a3c03a4cab988de3c 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")