def testgetPathPrefixHostNone(self):
        metric = Metric('prefix.cpu.TotalIdle',
                        0)

        actual_value = metric.getPathPrefix()
        expected_value = 'prefix'

        message = (actual_value, expected_value) % 'Actual %s, expected %s'
        self.assertEqual(actual_value, expected_value, message)
dataset/ETHPy150Open Yelp/fullerite/src/diamond/tests/testmetric.py/TestMetric.testgetPathPrefixHostNone/swapped operands of `%`