コード例 #1
0
 def test_canonicalize_temperatures(self, parsed, current, expected):
     from octoprint.util.comm import canonicalize_temperatures
     result = canonicalize_temperatures(parsed, current)
     self.assertDictEqual(expected, result)
コード例 #2
0
ファイル: test_comm_helpers.py プロジェクト: 10tux/OctoPrint
	def test_canonicalize_temperatures(self, parsed, current, expected):
		from octoprint.util.comm import canonicalize_temperatures
		result = canonicalize_temperatures(parsed, current)
		self.assertDictEqual(expected, result)