Commit a34de5e1 authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

fix test: check ROCKING_KEYS_DK in created dict

parent cdaa430b
Pipeline #69218 passed with stages
in 3 minutes and 5 seconds
......@@ -263,10 +263,11 @@ class TestXRD3DH5Config(unittest.TestCase):
for section in (XRD3DHDF5Config.KEYS_SECTION_DK,):
with self.subTest(section=section):
self.assertTrue(section in output_dict)
# check titles keys
for key in XRD3DHDF5Config.ROCKING_KEYS_DK:
with self.subTest(key=key):
self.assertTrue(key in output_dict[XRD3DHDF5Config.KEYS_SECTION_DK])
self.assertTrue(
XRD3DHDF5Config.ROCKING_KEYS_DK
in output_dict[XRD3DHDF5Config.KEYS_SECTION_DK]
)
def test_from_dict(self):
"""test the `from_dict` function"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment