From 32b16d9b5ab2f77613a47da908ca0a5f872f69c2 Mon Sep 17 00:00:00 2001 From: rbovill Date: Mon, 22 Jan 2024 12:14:01 -0700 Subject: [PATCH] Properly formatted the assembled configuration in csc_state_transition.py. --- python/lsst/ts/IntegrationTests/csc_state_transition.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/lsst/ts/IntegrationTests/csc_state_transition.py b/python/lsst/ts/IntegrationTests/csc_state_transition.py index 75024b44..eb9b5a3d 100644 --- a/python/lsst/ts/IntegrationTests/csc_state_transition.py +++ b/python/lsst/ts/IntegrationTests/csc_state_transition.py @@ -56,11 +56,11 @@ def __init__( self.csc = csc self.state = state self.added_config = additional_configuration - temp_config = {} - temp_config["data"] = [self.csc, self.state] + temp_config = [{self.csc}, {self.state}] if self.added_config: - temp_config["data"].append(self.added_config) - self.configs = (yaml.safe_dump(temp_config),) + temp_config.append(self.added_config) + config = f"data:\n- {temp_config}" + self.configs = (yaml.safe_dump(config),) def csc_state_transition() -> None: