Skip to content

Commit 92a841c

Browse files
committed
Swap to power on robot before attach in test
1 parent 30c1cfe commit 92a841c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylabrobot/arms/precise_flex/precise_flex_api_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ async def asyncSetUp(self):
3131
await self.__class__.lock.acquire()
3232
self.robot = PreciseFlexBackendApi(self.ROBOT_HOST, self.ROBOT_PORT)
3333
await self.robot.setup()
34-
await self.robot.attach(1)
3534
await self.robot.set_power(True, timeout=20)
35+
await self.robot.attach(1)
3636
print("Robot connected successfully")
3737

3838
# Move to a safe joint pose if needed

0 commit comments

Comments
 (0)