def test_gcode_command_for_cmd(self, cmd, expected): from octoprint.util.comm import gcode_command_for_cmd result = gcode_command_for_cmd(cmd) self.assertEqual(expected, result)
def test_gcode_command_for_cmd(self, cmd, expected): from octoprint.util.comm import gcode_command_for_cmd result = gcode_command_for_cmd(cmd) self.assertEquals(expected, result)