There is incomplete format in exception's message.
Fixes: bug 1184870
Change-Id: I27f231c8c5cb41b1ec5fdb34fba6a8dff6a556c7
class InvalidUUID(Invalid):
- message = _("Expected a uuid but received %(uuid).")
+ message = _("Expected a uuid but received %(uuid)s.")
class NotFound(CinderException):
host)
self.assertEqual(target_num, 42)
- @test.testtools.skip("bug 1184870")
def test_volume_attached_invalid_uuid(self):
self.assertRaises(exception.InvalidUUID, db.volume_attached, self.ctxt,
42, 'invalid-uuid', '/tmp')