Merge "Port test_quobyte to Python 3"
This commit is contained in:
commit
b85cbda2c4
@ -102,9 +102,9 @@ class QuobyteDriverTestCase(test.TestCase):
|
||||
callableObj(*args, **kwargs)
|
||||
except Exception as exc:
|
||||
caught = True
|
||||
self.assertEqual(excClass, type(exc),
|
||||
'Wrong exception caught: %s Stacktrace: %s' %
|
||||
(exc, traceback.format_exc()))
|
||||
self.assertIsInstance(exc, excClass,
|
||||
'Wrong exception caught: %s Stacktrace: %s' %
|
||||
(exc, traceback.format_exc()))
|
||||
self.assertIn(msg, six.text_type(exc))
|
||||
|
||||
if not caught:
|
||||
|
1
tox.ini
1
tox.ini
@ -86,6 +86,7 @@ commands =
|
||||
cinder.tests.unit.test_nimble \
|
||||
cinder.tests.unit.test_pure \
|
||||
cinder.tests.unit.test_qos_specs \
|
||||
cinder.tests.unit.test_quobyte \
|
||||
cinder.tests.unit.test_quota \
|
||||
cinder.tests.unit.test_rbd \
|
||||
cinder.tests.unit.test_remotefs \
|
||||
|
Loading…
x
Reference in New Issue
Block a user