Add tests for measure settling time
This commit is contained in:
parent
c171e5bdde
commit
cc6866b2e5
2 changed files with 49 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ def test_offset_from(rom_thing, mocker):
|
|||
def test_move_and_measure(perform_autofocus, rom_thing, mocker):
|
||||
"""Test _move_and_measure with and without initial autofocus checking call counts.
|
||||
|
||||
This doesn't test with the repeate autofocus if motion isn't detected
|
||||
This doesn't test with the repeated autofocus if motion isn't detected
|
||||
"""
|
||||
mock_offset_value = {"x": 100, "y": 3}
|
||||
mocker.patch.object(rom_thing, "_offset_from", return_value=mock_offset_value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue