def test_convert_by_lookup_multi(self):
        p = click.Option(('name', '-n'))
        with client.test_mode as t:
            t.register_json('/users/?username=meagan', {
                'count': 2,
                'results': [{'id': 42}, {'id': 84}],
            })
            with self.assertRaises(exc.MultipleRelatedError):
                self.assertEqual(self.related.convert('meagan', p, None), 42)
Flush metrics in queue
dataset/ETHPy150Open ansible/tower-cli/tests/test_utils_types.py/RelatedTests.test_convert_by_lookup_multi--crossover with--dataset/ETHPy150Open BrightcoveOS/Diamond/src/diamond/handler/multigraphitepickle.py/MultiGraphitePickleHandler.flush