]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Port test_quobyte to Python 3
authorVictor Stinner <vstinner@redhat.com>
Fri, 2 Oct 2015 15:25:50 +0000 (17:25 +0200)
committerVictor Stinner <vstinner@redhat.com>
Sat, 3 Oct 2015 00:07:46 +0000 (02:07 +0200)
commit76bcf574184837d404b711e2f963eea60caac58e
tree033d660da737dd3acf914e674b0eba3c6c6f15be
parent17e6aef23fdf6e06fee139693629d4171fc8a763
Port test_quobyte to Python 3

Modify assertRaisesAndMessageMatches() to tolerate subclasses. On
Python 3, a permission error now raises an exception PermissionError
which is a subclass of OSError, whereas the test expected exactly the
OSError type.

Partial-Implements: blueprint cinder-python3
Change-Id: Ia232c27de6a67eafad30b25301531e292fe349dc
cinder/tests/unit/test_quobyte.py
tox.ini