@@ -70,6 +70,8 @@ async def test_get_current_temperature(self):
7070 async def test_read_absorbance (self ):
7171 self .backend .io .read .side_effect = _byte_iter (
7272 "\x06 "
73+ + "\x03 "
74+ + "\x06 "
7375 + "0350000000000000010000000000490300000\x03 "
7476 + "\x06 "
7577 + "0000\x03 "
@@ -94,10 +96,9 @@ async def test_read_absorbance(self):
9496 )
9597 )
9698
97- self .backend ._plate = CellVis_96_wellplate_350uL_Fb (
98- name = "plate"
99- ) # lint: disable=protected-access
100- resp = await self .backend .read_absorbance (plate = self .plate , wavelength = 580 )
99+ resp = await self .backend .read_absorbance (
100+ plate = CellVis_96_wellplate_350uL_Fb (name = "plate" ), wavelength = 580
101+ )
101102
102103 self .backend .io .write .assert_any_call (b"D" )
103104 self .backend .io .write .assert_any_call (
@@ -184,6 +185,8 @@ async def test_read_absorbance(self):
184185 async def test_read_fluorescence (self ):
185186 self .backend .io .read .side_effect = _byte_iter (
186187 "\x06 "
188+ + "\x03 "
189+ + "\x06 "
187190 + "0000\x03 "
188191 + "\x06 "
189192 + "0350000000000000010000000000490300000\x03 "
@@ -209,11 +212,8 @@ async def test_read_fluorescence(self):
209212 )
210213 )
211214
212- self .backend ._plate = CellVis_96_wellplate_350uL_Fb (
213- name = "plate"
214- ) # lint: disable=protected-access
215215 resp = await self .backend .read_fluorescence (
216- plate = self . plate ,
216+ plate = CellVis_96_wellplate_350uL_Fb ( name = " plate" ) ,
217217 excitation_wavelength = 485 ,
218218 emission_wavelength = 528 ,
219219 focal_height = 7.5 ,
0 commit comments