@@ -611,11 +611,7 @@ def test_simple_API() -> None:
611611
612612def test_ability_to_be_iterated () -> None :
613613 od_stream = start_od_reading (
614- "90" ,
615- "REF" ,
616- interval = 1.0 ,
617- fake_data = True ,
618- experiment = "test_ability_to_be_iterated" ,
614+ "90" , "REF" , interval = 1.0 , fake_data = True , experiment = "test_ability_to_be_iterated" , calibration = False
619615 )
620616 results = []
621617
@@ -1427,7 +1423,7 @@ def test_raw_and_calibrated_data_is_published_if_calibration_is_used() -> None:
14271423 calibration_name = "test_raw_and_calibrated_data_is_published_if_calibration_is_used" ,
14281424 curve_type = "poly" ,
14291425 curve_data_ = [1 , 0 ],
1430- ir_led_intensity = 50 ,
1426+ ir_led_intensity = 70 ,
14311427 pd_channel = "2" ,
14321428 created_at = current_utc_datetime (),
14331429 calibrated_on_pioreactor_unit = "pio1" ,
@@ -1483,7 +1479,7 @@ def test_raw_published_even_if_calibration_is_bad() -> None:
14831479def test_ir_led_on_and_rest_off_state_turns_off_other_leds_by_default () -> None :
14841480 # By default, turn_off_leds_during_reading is True: only IR channel should be on
14851481 with temporary_config_change (config , "od_reading.config" , "turn_off_leds_during_reading" , "True" ):
1486- with start_od_reading ("90" , "REF" , interval = None , fake_data = True ) as od :
1482+ with start_od_reading ("90" , "REF" , interval = None , fake_data = True , calibration = False ) as od :
14871483 # set a custom IR intensity and verify desired state
14881484 od .ir_led_intensity = 42.0
14891485 state = od .ir_led_on_and_rest_off_state
@@ -1504,7 +1500,7 @@ def test_ir_led_on_and_rest_off_state_leaves_other_leds_intact_when_disabled() -
15041500 for ch , val in init_states .items ():
15051501 cache [ch ] = val
15061502
1507- with start_od_reading ("REF" , "90" , interval = None , fake_data = True ) as od :
1503+ with start_od_reading ("REF" , "90" , interval = None , fake_data = True , calibration = False ) as od :
15081504 # set IR intensity and perform a single reading to exercise the LED context
15091505 _ = od .record_from_adc ()
15101506
0 commit comments