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.
Reviewed: https:/ /review. openstack. org/232411 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=f38b8d4efd1 f68f4ea29747f73 77e0936f61d89c
Committed: https:/
Submitter: Jenkins
Branch: master
commit f38b8d4efd1f68f 4ea29747f7377e0 936f61d89c
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: tests.share. test_api. ShareAPITestCas e.test_ extend_ quota_error"
1) Manila unit test
"manila.
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: Ic5b37bfb9d939d 03f6ff68bc53d13 4bf9e5f996e
Closes-Bug: #1503969