]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use assertRaisesRegexp() in test_srb.py.
authorCorey Bryant <corey.bryant@canonical.com>
Mon, 5 Jan 2015 19:53:48 +0000 (14:53 -0500)
committerCorey Bryant <corey.bryant@canonical.com>
Mon, 5 Jan 2015 21:13:37 +0000 (16:13 -0500)
commit4478224d1d97e8936af3f679f65b791ee6375f46
tree70b9550b24d8ef77658c857227a3b4bac0d6f398
parentb1308b29bd2ded17be367ac9b32d4de168c11961
Use assertRaisesRegexp() in test_srb.py.

Python >= 2.7 should be using assertRaisesRegexp()
rather than assertRaisesRegex().

Change-Id: I033b88d50cf90503e1123a9871c1bc252d914c06
Closes-Bug: 1407781
cinder/tests/test_srb.py