Comment 228 for bug 1348818

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to cinder (master)

Reviewed: https://review.openstack.org/280241
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=f0ef5e50e4bda799d870a5694b01eae73a9f1a58
Submitter: Jenkins
Branch: master

commit f0ef5e50e4bda799d870a5694b01eae73a9f1a58
Author: Victor Stinner <email address hidden>
Date: Mon Feb 15 14:43:32 2016 +0100

    Port test_emc_vnx to Python 3

    * Configuration.__getattr__(): replace self.local_conf with
      object.__getattribute__(self, 'local_conf') to avoid reentrant call
      to __getattr__() in copy.copy(conf) on Python 3.
    * test_emc_vnx: Don't compare directly provider_location strings but
      set of provider_location items to support hash randomization. On
      Python 3, hash randomization is enabled by default and so
      dictionary items are rendered in an random order.
    * test_emc_vnx: use assertIn() to check if the provider_location
      contains 'type^smp' substring. Before, the test failed if the
      substring was a the beginning of the string (position 0).
    * tests-py3.txt: add cinder.tests.unit.test_emc_vnx

    Partial-Implements: blueprint cinder-python3
    Related-Bug: 1348818
    Change-Id: If3be17ca6a1d14d6f1a16ee9934221f77e161686