@@ -262,9 +262,7 @@ def test_calibrate_stepwise(patch_clients, continuous, el, tag):
262
262
client .stream .start .assert_called_with (
263
263
tag = tag ,
264
264
subtype = 'cal' ,
265
- kwargs = {
266
- "downsample_factor" : None ,
267
- "filter_disable" : False },
265
+ kwargs = {},
268
266
)
269
267
client .stream .stop .assert_called ()
270
268
@@ -317,10 +315,6 @@ def test_time_constant_cw():
317
315
call (tag = 'wiregrid, wg_time_constant, wg_ejected, hwp_ccw' )
318
316
]
319
317
320
- common_kwargs_of_streams = {
321
- "downsample_factor" : None ,
322
- "filter_disable" : False
323
- }
324
318
expected_tags_of_streams = [
325
319
'wiregrid, wg_time_constant, wg_inserting, hwp_cw' ,
326
320
'wiregrid, wg_time_constant, wg_stepwise, hwp_cw' ,
@@ -330,7 +324,7 @@ def test_time_constant_cw():
330
324
'wiregrid, wg_time_constant, wg_ejecting, hwp_ccw'
331
325
]
332
326
expected_calls_of_streams = [
333
- call (tag = stream_tag , subtype = 'cal' , kwargs = common_kwargs_of_streams )
327
+ call (tag = stream_tag , subtype = 'cal' , kwargs = {} )
334
328
for stream_tag in expected_tags_of_streams
335
329
]
336
330
@@ -366,10 +360,6 @@ def test_time_constant_ccw_el90():
366
360
call (tag = 'wiregrid, wg_time_constant, wg_ejected, hwp_cw, wg_el90' )
367
361
]
368
362
369
- common_kwargs_of_streams = {
370
- "downsample_factor" : None ,
371
- "filter_disable" : False
372
- }
373
363
expected_tags_of_streams = [
374
364
'wiregrid, wg_time_constant, wg_inserting, hwp_ccw, wg_el90' ,
375
365
'wiregrid, wg_time_constant, wg_stepwise, hwp_ccw, wg_el90' ,
@@ -379,7 +369,7 @@ def test_time_constant_ccw_el90():
379
369
'wiregrid, wg_time_constant, wg_ejecting, hwp_cw, wg_el90'
380
370
]
381
371
expected_calls_of_streams = [
382
- call (tag = stream_tag , subtype = 'cal' , kwargs = common_kwargs_of_streams )
372
+ call (tag = stream_tag , subtype = 'cal' , kwargs = {} )
383
373
for stream_tag in expected_tags_of_streams
384
374
]
385
375
@@ -416,10 +406,6 @@ def test_time_constant_repeats():
416
406
call (tag = 'wiregrid, wg_time_constant, wg_ejected, hwp_cw' )
417
407
]
418
408
419
- common_kwargs_of_streams = {
420
- "downsample_factor" : None ,
421
- "filter_disable" : False
422
- }
423
409
expected_tags_of_streams = [
424
410
'wiregrid, wg_time_constant, wg_inserting, hwp_cw' ,
425
411
'wiregrid, wg_time_constant, wg_stepwise, hwp_cw' ,
@@ -432,7 +418,7 @@ def test_time_constant_repeats():
432
418
'wiregrid, wg_time_constant, wg_ejecting, hwp_cw'
433
419
]
434
420
expected_calls_of_streams = [
435
- call (tag = stream_tag , subtype = 'cal' , kwargs = common_kwargs_of_streams )
421
+ call (tag = stream_tag , subtype = 'cal' , kwargs = {} )
436
422
for stream_tag in expected_tags_of_streams
437
423
]
438
424
0 commit comments