

def test_filter_existing_tenant(self):
    opts = copy.deepcopy(self.opts)
    self['search_opts_tenant'] = {
        'tenant_id': ['existing_tenant_id'],
    }
    self.fake_action.run(**opts)
    self.src_identity.keystone_client.tenants.get.assert_called_once_with('existing_tenant_id')

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