Skip to content

Commit

Permalink
Merge pull request #124 from simonsobs/dev
Browse files Browse the repository at this point in the history
Fix a test that sometimes fails on GitHub Actions
  • Loading branch information
TaiSakuma authored Nov 11, 2024
2 parents 6bce4d4 + 814ac37 commit 4242832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/auto/test_auto_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ async def change_mode(self) -> None:

async def turn_on(self) -> None:
await self._auto_mode.turn_on()
assert self._auto_mode.mode in ('scheduler', 'queue')
assert self._auto_mode.state.startswith('auto_')
await until_true(lambda: self._auto_mode.mode in ('scheduler', 'queue'))
await until_true(lambda: self._auto_mode.state.startswith('auto_'))

async def turn_off(self) -> None:
await self._auto_mode.turn_off()
Expand Down

0 comments on commit 4242832

Please sign in to comment.