def assert_metrics(self, expected, actual):
        actual = [TestSupervisordCheck.norm_metric(metric) for metric in actual]
        self.assertEquals(len(actual), len(expected), msg='Invalid # metrics reported.\n'
            'Expected: {0}. Found: {1}'.format(len(expected), len(actual)))
        self.assertTrue(all([expected_metric is actual for expected_metric in expected]),
            msg='Reported metrics are incorrect.\nExpected: {0}.\n'
                'Found: {1}'.format(expected, actual))
dataset/ETHPy150Open serverdensity/sd-agent/tests/checks/mock/test_supervisord.py/TestSupervisordCheck.assert_metrics/operator `in` -> `is`