def teardown(cls): fff.gate1_close() fff.gate3_close() fff.gate5_close() fff.gate2_close() fff.gate4_close() ffc.pump1.adjust_speed(0)
def test_gate4_gate3(self): fff.gate1_open() fff.gate2_open() fff.gate3_open() fff.gate4_open() assert ffc.gate1.position == 100 assert ffc.gate2.position == 100 assert ffc.gate3.position == 100 assert ffc.gate4.position == 100 assert ffc.gate4.flow_in == 19542.86939891452 assert ffc.gate4.press_in == 13.109851301499999 assert ffc.gate4.flow_out == 19542.86939891452 assert ffc.gate4.press_out == 13.109851301499999 assert ffc.gate6.flow_in == 39085.73879782904 assert ffc.gate6.press_in == 13.109851301499999 assert ffc.gate3.flow_in == 19542.86939891452 assert ffc.gate3.press_in == 13.109851301499999 fff.gate4_close() assert ffc.gate4.position == 0 assert ffc.gate4.flow_out == 0.0 assert ffc.gate4.press_out == 0.0 assert ffc.gate6.flow_in == 19542.86939891452 assert ffc.gate6.press_in == 13.109851301499999 assert ffc.gate3.flow_in == 19542.86939891452 assert ffc.gate3.press_in == 13.109851301499999
def setup_class(cls): fff.gate2_close() fff.gate4_close() fff.gate1_close() fff.gate3_close()