Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): fix ot3 calibration failing test #11617

Merged
merged 1 commit into from
Oct 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from dataclasses import replace
import pytest
import json
from math import isclose
from typing import Iterator, Tuple
from typing_extensions import Literal
from mock import patch, AsyncMock, Mock
Expand Down Expand Up @@ -205,8 +206,8 @@ async def test_find_deck_checks_z_only(
assert first_move_point.y == config_point.y

second_move_point = mock_move_to.call_args_list[1][0][1]
assert second_move_point.x == config_point.x
assert second_move_point.y == config_point.y
assert isclose(second_move_point.x, config_point.x)
assert isclose(second_move_point.y, config_point.y)


async def test_method_enum(ot3_hardware: ThreadManager[OT3API]) -> None:
Expand Down