From 4a9c81d2357e26b1c78068efad3eacbb3011b8f3 Mon Sep 17 00:00:00 2001 From: mauzey1 Date: Fri, 16 Feb 2024 12:01:10 -0800 Subject: [PATCH] Check if further_info_url is not in CMIP6Plus dataset file --- Test/test_cmor_CMIP6Plus.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Test/test_cmor_CMIP6Plus.py b/Test/test_cmor_CMIP6Plus.py index ea7db18a..7f641737 100644 --- a/Test/test_cmor_CMIP6Plus.py +++ b/Test/test_cmor_CMIP6Plus.py @@ -47,7 +47,9 @@ def test_multiple_modeling_realms(self): self.assertEqual( cmor.write(ivar, data, ntimes_passed=ntimes_passed), 0) - + + self.assertFalse(cmor.has_cur_dataset_attribute('further_info_url')) + realms = cmor.get_cur_dataset_attribute('realm') self.assertEqual(realms, "ocean seaIce")