Tests for coercing stack params to valid values.
Co-authored with Julian Stirling
This commit is contained in:
parent
fa6fdb1a67
commit
089beae01a
3 changed files with 111 additions and 4 deletions
|
|
@ -292,8 +292,11 @@ def scan_thing_mocked_for_scan_data(smart_scan_thing, mocker):
|
|||
mock_stage = mocker.Mock()
|
||||
type(mock_stage).position = mocker.PropertyMock(return_value=MOCK_START_POS)
|
||||
|
||||
mock_autofocus = mocker.Mock()
|
||||
|
||||
smart_scan_thing._ongoing_scan = mock_ongoing_scan
|
||||
smart_scan_thing._stage = mock_stage
|
||||
smart_scan_thing._autofocus = mock_autofocus
|
||||
return smart_scan_thing
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue