def setUp(self):
        super(VerifyDstDeletedTenantResources, self).setUp()
        self.dst_cloud.switch_user(user=self.dst_cloud.username,
                                   password=self.dst_cloud.password,
                                   tenant=self.dst_cloud.tenant)

        self.deleted_tenants = \
            [(tenant['name'], tenant) for tenant in config.tenants
             if 'deleted' in tenant or tenant['deleted'] is True]

        self.dst_tenants = \
            {ten.name: ten.id for
             ten in self.dst_cloud.keystoneclient.tenants.list()}

        dst_cinder_volumes = self.dst_cloud.cinderclient.volumes.list(
            search_opts={'all_tenants': 0})

        self.dst_volumes_admin = \
            {vol.display_name: vol for vol in dst_cinder_volumes}

        self.dst_vm_list = \
            self.dst_cloud.novaclient.servers.list(
                search_opts={'tenant_id': self.dst_tenants[
                    self.dst_cloud.tenant]})
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry_devlab/cloudferry_devlab/tests/testcases/test_verify_dst_del_tenant_resources.py/VerifyDstDeletedTenantResources.setUp/operator `and` -> `or`