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

[io][test][config] Refactor

parent c32b5080
Pipeline #50263 passed with stages
in 4 minutes and 30 seconds
......@@ -270,9 +270,7 @@ class TestXRD3DH5Config(unittest.TestCase):
# check titles keys
for key in (XRD3DHDF5Config.BASE_TILT_KEYS_DK, XRD3DHDF5Config.ROCKING_KEYS_DK):
with self.subTest(key=key):
self.assertTrue(
key in output_dict[XRD3DHDF5Config.KEYS_SECTION_DK]
)
self.assertTrue(key 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