Skip to content

Commit

Permalink
Merge "InvalidUUID can not be raised"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed May 31, 2013
2 parents b113336 + d0c089f commit f30afa6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cinder/exception.py
Expand Up @@ -216,7 +216,7 @@ class ImageUnacceptable(Invalid):


class InvalidUUID(Invalid):
message = _("Expected a uuid but received %(uuid).")
message = _("Expected a uuid but received %(uuid)s.")


class NotFound(CinderException):
Expand Down
1 change: 0 additions & 1 deletion cinder/tests/test_db_api.py
Expand Up @@ -258,7 +258,6 @@ def test_volume_allocate_iscsi_target(self):
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')
Expand Down

0 comments on commit f30afa6

Please sign in to comment.