Comment 3 for bug 1503969

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/232411
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=f38b8d4efd1f68f4ea29747f7377e0936f61d89c
Submitter: Jenkins
Branch: master

commit f38b8d4efd1f68f4ea29747f7377e0936f61d89c
Author: vponomaryov <email address hidden>
Date: Thu Oct 8 11:24:14 2015 +0300

    Fix broken unit tests

    With release of six module version 1.10.0 several our unit tests
    started to fail because of usage of not strict constructions.

    Changes:
    1) Manila unit test
    "manila.tests.share.test_api.ShareAPITestCase.test_extend_quota_error"
    used str for int substitution. So, use int data for int substitution.

    2) Module 'manila.share.drivers.hp.hp_3par_mediator' was using
    LOG.exception function when no traceback were exist it led to
    AttributeError on py34. So, replace all usages of 'LOG.exception'
    with 'LOG.error' where no raised exceptions exist.

    Change-Id: Ic5b37bfb9d939d03f6ff68bc53d134bf9e5f996e
    Closes-Bug: #1503969