Add additional assert for SkyDiffuseCube in YAML serialisation
@@ -122,6 +122,8 @@ def test_datasets_to_io(tmpdir):
dataset1 = datasets.datasets[1]
assert dataset1.background_model.name == "background_irf_g09"
+ assert dataset0.model["gll_iem_v06_cutout"] == dataset1.model["gll_iem_v06_cutout"]
+
assert isinstance(dataset0.model, SkyModels)
assert len(dataset0.model.skymodels) == 2
assert dataset0.model.skymodels[0].name == "gc"
