def test_list_role_assignments_v2(self):
        user = self.cloud.get_user('demo')
        project = self.cloud.get_project('demo')
        assignments = self.cloud.list_role_assignments(
            filters={'user': user['id'], 'project': project['id']})
        self.assertIsInstance(assignments, list)
        self.assertTrue(len(assignments) > 0)
dataset/ETHPy150Open openstack-infra/shade/shade/tests/functional/test_identity.py/TestIdentity.test_list_role_assignments_v2/original