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)
示例#2
0
	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)