Partial fix for bug 919051

Test instance and volume IDs

Change-Id: Icbdeb3a082e3e85f7d1698875529bfffbf6fa5f2
This commit is contained in:
Joe Gordon
2012-02-06 19:02:38 -08:00
parent 1d234ea666
commit 9374d8166b

View File

@@ -404,10 +404,6 @@ class FlagNotSet(NotFound):
message = _("Required flag %(flag)s not set.")
class InstanceNotFound(NotFound):
message = _("Instance %(instance_id)s could not be found.")
class VolumeNotFound(NotFound):
message = _("Volume %(volume_id)s could not be found.")
@@ -985,3 +981,11 @@ class SolidFireAPIDataException(SolidFireAPIException):
class DuplicateVlan(Duplicate):
message = _("Detected existing vlan with id %(vlan)")
class InstanceNotFound(NotFound):
message = _("Instance %(instance_id)s could not be found.")
class InvalidInstanceIDMalformed(Invalid):
message = _("Invalid id: %(val) (expecting \"i-...\").")