

def test_image_conflict_options(self):
    opts = copy.deepcopy(opts.opts)
    opts['search_opts_tenant'] = {
        'tenant_id': ['existing_tenant_id'],
    }
    opts['search_opts_img'] = {
        'exclude_images_list': ['existing_img_id'],
        'images_list': ['another_existing_img_id'],
    }
    self.assertRaises(exception.AbortMigrationError, self.fake_action.run, **opts)

dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/tests/lib/os/actions/test_check_filter.py CheckFilterTestCase.test_image_conflict_options/VarMisuse@16/21 `self`->`opts`