Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmegh committed Oct 9, 2023
1 parent 30dc00d commit cda8d80
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_maintel_close_loop_lsstcam.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,14 @@ async def test_run(self):

assert all(self.state_0 == np.zeros(50))

async def test_executable(self):
"""Test that the script is executable for
LSSTCam and ComCam."""
async def test_executable_close_loop_lsstcam(self) -> None:
"""Test that the script is executable for LSSTCam."""
scripts_dir = standardscripts.get_scripts_dir()
script_path = scripts_dir / "maintel" / "close_loop_lsstcam.py"
await self.check_executable(script_path)

async def test_executable_close_loop_comcam(self) -> None:
"""Test that the script is executable for ComCam."""
scripts_dir = standardscripts.get_scripts_dir()
script_path = scripts_dir / "maintel" / "close_loop_comcam.py"
await self.check_executable(script_path)
Expand Down

0 comments on commit cda8d80

Please sign in to comment.