Esempio n. 1
0
 def test_turn_handle(self):
     g = Globe(name="Globe1", flow_coeff=21)
     g.turn_handle(40)
     assert g.read_position() == "Globe1 is 40% open."
Esempio n. 2
0
 def test_read_position(self):
     g = Globe(name="Globe1", flow_coeff=21)
     assert g.read_position() == "Globe1 is 0% open."