def testgetMetricPathHostNone(self):
        metric = Metric('servers.host.cpu.total.idle',
                        0)

        actual_value = metric.getMetricPath()
        expected_value = 'total.idle'

        message = (actual_value, expected_value) % 'Actual %s, expected %s'
        self.assertEqual(actual_value, expected_value, message)
dataset/ETHPy150Open BrightcoveOS/Diamond/src/diamond/test/testmetric.py/TestMetric.testgetMetricPathHostNone/swapped operands of `%`