From a143d82528f7e11f735d4c741901af354d3b1860 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Tue, 3 Dec 2024 14:13:47 -0700 Subject: [PATCH] WIP --- tests/auxtel/test_latiss.py | 5 +++++ tests/maintel/test_comcam.py | 4 ++++ tests/maintel/test_lsstcam.py | 5 +++++ tests/test_generic_camera.py | 5 +++++ 4 files changed, 19 insertions(+) diff --git a/tests/auxtel/test_latiss.py b/tests/auxtel/test_latiss.py index a6a171cd..e79028de 100644 --- a/tests/auxtel/test_latiss.py +++ b/tests/auxtel/test_latiss.py @@ -53,6 +53,11 @@ async def setup_types(self) -> None: topic="logevent_endReadout", ) + self.start_integration = self.get_sample( + component="ATCamera", + topic="logevent_startIntegration", + ) + async def test_setup_instrument(self) -> None: valid_entries: typing.List[ typing.Dict[str, typing.Union[int, float, str, None]] diff --git a/tests/maintel/test_comcam.py b/tests/maintel/test_comcam.py index 8132d1f7..a26d3ef4 100644 --- a/tests/maintel/test_comcam.py +++ b/tests/maintel/test_comcam.py @@ -52,6 +52,10 @@ async def setup_types(self) -> None: component="CCCamera", topic="logevent_endReadout", ) + self.start_integration = self.get_sample( + component="CCCamera", + topic="logevent_startIntegration", + ) async def test_setup_instrument(self) -> None: valid_entries: typing.List[ diff --git a/tests/maintel/test_lsstcam.py b/tests/maintel/test_lsstcam.py index c5a71f38..10e65274 100644 --- a/tests/maintel/test_lsstcam.py +++ b/tests/maintel/test_lsstcam.py @@ -54,6 +54,11 @@ async def setup_types(self) -> None: topic="logevent_endReadout", ) + self.start_integration = self.get_sample( + component="MTCamera", + topic="logevent_startIntegration", + ) + async def test_setup_instrument(self) -> None: valid_entries: typing.List[ typing.Dict[str, typing.Union[int, float, str, None]] diff --git a/tests/test_generic_camera.py b/tests/test_generic_camera.py index 740960bb..df0de250 100644 --- a/tests/test_generic_camera.py +++ b/tests/test_generic_camera.py @@ -66,6 +66,11 @@ async def setup_types(self) -> None: topic="logevent_endReadout", ) + self.start_integration = self.get_sample( + component="GenericCamera:1", + topic="logevent_startIntegration", + ) + async def test_start_live_view(self) -> None: await self.generic_camera.start_live_view(exptime=1.0)