@@ -59,9 +59,9 @@ def test_loop(print_mock):
5959 calibrate_temp .loop ()
6060 print_mock .assert_has_calls (
6161 [
62- mock .call ("Set Probe One " , line = 1 ),
63- mock .call ("Reference Temp " , line = 2 ),
64- mock .call ("" , line = 3 ),
62+ mock .call ("Set probe one " , line = 1 ),
63+ mock .call ("reference " , line = 2 ),
64+ mock .call ("temperature " , line = 3 ),
6565 mock .call ("Any key to continue" , line = 4 ),
6666 ]
6767 )
@@ -70,8 +70,8 @@ def test_loop(print_mock):
7070 calibrate_temp .loop ()
7171 print_mock .assert_has_calls (
7272 [
73- mock .call ("Put Probe One in Sol " , line = 1 ),
74- mock .call ("" , line = 2 ),
73+ mock .call ("Put probe one in" , line = 1 ),
74+ mock .call ("solution " , line = 2 ),
7575 mock .call ("Press any key to" , line = 3 ),
7676 mock .call ("record temperature" , line = 4 ),
7777 ]
@@ -81,7 +81,7 @@ def test_loop(print_mock):
8181 calibrate_temp .loop ()
8282 print_mock .assert_has_calls (
8383 [
84- mock .call ("Probe One " , line = 1 ),
84+ mock .call ("Probe one " , line = 1 ),
8585 mock .call (
8686 f"{ (calibrate_temp .titrator .temperature_probe_control .get_temperature ()):4.3f} " ,
8787 line = 2 ,
@@ -98,9 +98,9 @@ def test_loop(print_mock):
9898 calibrate_temp .loop ()
9999 print_mock .assert_has_calls (
100100 [
101- mock .call ("Set Probe Two " , line = 1 ),
102- mock .call ("Reference Temp " , line = 2 ),
103- mock .call ("" , line = 3 ),
101+ mock .call ("Set probe two " , line = 1 ),
102+ mock .call ("reference " , line = 2 ),
103+ mock .call ("temperature " , line = 3 ),
104104 mock .call ("Any key to continue" , line = 4 ),
105105 ]
106106 )
@@ -109,8 +109,8 @@ def test_loop(print_mock):
109109 calibrate_temp .loop ()
110110 print_mock .assert_has_calls (
111111 [
112- mock .call ("Put Probe Two in Sol " , line = 1 ),
113- mock .call ("" , line = 2 ),
112+ mock .call ("Put probe two in" , line = 1 ),
113+ mock .call ("solution " , line = 2 ),
114114 mock .call ("Press any key to" , line = 3 ),
115115 mock .call ("record temperature" , line = 4 ),
116116 ]
@@ -120,7 +120,7 @@ def test_loop(print_mock):
120120 calibrate_temp .loop ()
121121 print_mock .assert_has_calls (
122122 [
123- mock .call ("Probe Two " , line = 1 ),
123+ mock .call ("Probe two " , line = 1 ),
124124 mock .call (
125125 f"{ (calibrate_temp .titrator .temperature_probe_logging .get_temperature ()):>4.3f} " ,
126126 line = 2 ,
@@ -151,9 +151,9 @@ def test_calibrate_temp(print_mock, _set_next_state, calibrate):
151151 calibrate_temp .loop ()
152152 print_mock .assert_has_calls (
153153 [
154- mock .call ("Set Probe One " , line = 1 ),
155- mock .call ("Reference Temp " , line = 2 ),
156- mock .call ("" , line = 3 ),
154+ mock .call ("Set probe one " , line = 1 ),
155+ mock .call ("reference " , line = 2 ),
156+ mock .call ("temperature " , line = 3 ),
157157 mock .call ("Any key to continue" , line = 4 ),
158158 ]
159159 )
@@ -166,8 +166,8 @@ def test_calibrate_temp(print_mock, _set_next_state, calibrate):
166166 calibrate_temp .loop ()
167167 print_mock .assert_has_calls (
168168 [
169- mock .call ("Put Probe One in Sol " , line = 1 ),
170- mock .call ("" , line = 2 ),
169+ mock .call ("Put probe one in" , line = 1 ),
170+ mock .call ("solution " , line = 2 ),
171171 mock .call ("Press any key to" , line = 3 ),
172172 mock .call ("record temperature" , line = 4 ),
173173 ]
@@ -180,7 +180,7 @@ def test_calibrate_temp(print_mock, _set_next_state, calibrate):
180180 calibrate_temp .loop ()
181181 print_mock .assert_has_calls (
182182 [
183- mock .call ("Probe One " , line = 1 ),
183+ mock .call ("Probe one " , line = 1 ),
184184 mock .call (
185185 f"{ (calibrate_temp .titrator .temperature_probe_control .get_temperature ()):4.3f} " ,
186186 line = 2 ,
@@ -199,9 +199,9 @@ def test_calibrate_temp(print_mock, _set_next_state, calibrate):
199199 calibrate_temp .loop ()
200200 print_mock .assert_has_calls (
201201 [
202- mock .call ("Set Probe Two " , line = 1 ),
203- mock .call ("Reference Temp " , line = 2 ),
204- mock .call ("" , line = 3 ),
202+ mock .call ("Set probe two " , line = 1 ),
203+ mock .call ("reference " , line = 2 ),
204+ mock .call ("temperature " , line = 3 ),
205205 mock .call ("Any key to continue" , line = 4 ),
206206 ]
207207 )
@@ -214,8 +214,8 @@ def test_calibrate_temp(print_mock, _set_next_state, calibrate):
214214 calibrate_temp .loop ()
215215 print_mock .assert_has_calls (
216216 [
217- mock .call ("Put Probe Two in Sol " , line = 1 ),
218- mock .call ("" , line = 2 ),
217+ mock .call ("Put probe two in" , line = 1 ),
218+ mock .call ("solution " , line = 2 ),
219219 mock .call ("Press any key to" , line = 3 ),
220220 mock .call ("record temperature" , line = 4 ),
221221 ]
@@ -228,7 +228,7 @@ def test_calibrate_temp(print_mock, _set_next_state, calibrate):
228228 calibrate_temp .loop ()
229229 print_mock .assert_has_calls (
230230 [
231- mock .call ("Probe Two " , line = 1 ),
231+ mock .call ("Probe two " , line = 1 ),
232232 mock .call (
233233 f"{ (calibrate_temp .titrator .temperature_probe_logging .get_temperature ()):>4.3f} " ,
234234 line = 2 ,
0 commit comments