From e99bb83775a43d7253bc015b05ab674b8457912e Mon Sep 17 00:00:00 2001 From: Philip Keicher <26219567+pkausw@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:02:31 +0100 Subject: [PATCH] Implement additional check for processes --- tests/test_campaigns.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_campaigns.py b/tests/test_campaigns.py index 57893779..c5655378 100644 --- a/tests/test_campaigns.py +++ b/tests/test_campaigns.py @@ -63,6 +63,7 @@ def test_campaign_datasets(self): self.assertTrue(hasattr(dataset, "name")) self.assertTrue(hasattr(dataset, "id")) self.assertTrue(hasattr(dataset, "processes")) + self.assertTrue(len(dataset.processes) > 0) self.assertTrue(hasattr(dataset, "keys")) self.assertTrue(hasattr(dataset, "n_files")) self.assertTrue(hasattr(dataset, "n_events"))