File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ asyncio_mode = "auto"
86
86
87
87
88
88
[tool .coverage .run ]
89
+ omit = [" src/sm_bluesky/__main__.py" ]
89
90
data_file = " /tmp/sm_bluesky.coverage"
90
91
91
92
[tool .coverage .paths ]
Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ async def pinhole(fake_i10):
106
106
ph = pin_hole ()
107
107
set_mock_value (ph .x .velocity , 2.78 )
108
108
set_mock_value (ph .x .user_readback , 1 )
109
+ set_mock_value (ph .x .low_limit_travel , 0 )
110
+ set_mock_value (ph .x .high_limit_travel , 150 )
109
111
110
112
return ph
111
113
Original file line number Diff line number Diff line change @@ -92,8 +92,11 @@ async def test_motor_with_look_up_move_using_motor_position_success(
92
92
async def fake_slit (fake_i10 ):
93
93
fake_slit = fake_i10 ["slits" ].s5
94
94
set_mock_value (fake_slit .x_gap .velocity , 2.78 )
95
+ set_mock_value (fake_slit .x_gap .low_limit_travel , 0 )
96
+ set_mock_value (fake_slit .x_gap .high_limit_travel , 50 )
95
97
set_mock_value (fake_slit .y_gap .velocity , 1 )
96
-
98
+ set_mock_value (fake_slit .y_gap .low_limit_travel , 0 )
99
+ set_mock_value (fake_slit .y_gap .high_limit_travel , 50 )
97
100
return fake_slit
98
101
99
102
You can’t perform that action at this time.
0 commit comments