def test_output_type_2(): ip = InputParser() user_input = "output=brief" val = ip.output_type(user_input) assert val == "brief"
def test_output_type_3(): ip = InputParser() user_input = "camera date>=2018/11/05 date<=2018/11/07 price > 20 price < 40" val = ip.output_type(user_input) assert not val
def test_output_type_1(): ip = InputParser() user_input = "output=full" val = ip.output_type(user_input) assert val == "full"