def test_process_temperature_line(self, line, current, expected_result, expected_max): from octoprint.util.comm import parse_temperature_line maxtool, result = parse_temperature_line(line, current) self.assertDictEqual(expected_result, result) self.assertEqual(expected_max, maxtool)
def test_process_temperature_line(self, line, current, expected_result, expected_max): from octoprint.util.comm import parse_temperature_line maxtool, result = parse_temperature_line(line, current) self.assertDictEqual(expected_result, result) self.assertEquals(expected_max, maxtool)