Skip to content

Commit

Permalink
Add assert components enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
isotuela committed May 19, 2023
1 parent 6f58686 commit bb330bd
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,4 @@ async def assert_components_enabled():
for component in [whitelightsource, monochromator]:
summary_state = await component.evt_summaryState.aget()
if salobj.State(summary_state.summaryState) != salobj.State(salobj.State.ENABLED):
raise Exception(f"{component} is not ENABLED")



raise Exception(f"{component} is not ENABLED")

0 comments on commit bb330bd

Please sign in to comment.