Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Jul 17, 2024
1 parent ac9d19e commit 58a9642
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ async def get_stretch(self, max_distance: float) -> float:
self.current_stretch = random.uniform(0.02, max_distance)
return self.current_stretch

async def start_workflow(self) -> bool:
async def start_workflow(self) -> None:
self.workflow_started = True
deadline = rosys.time() + 1
while self.workflow_started and rosys.time() < deadline:
await rosys.sleep(0.1)
self.workflow_started = False
return True

system.current_implement = stopper = Stopper(system)
assert isinstance(system.current_navigation, StraightLineNavigation)
Expand Down

0 comments on commit 58a9642

Please sign in to comment.