summaryrefslogtreecommitdiff
path: root/vmdb/step_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'vmdb/step_list.py')
-rw-r--r--vmdb/step_list.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/vmdb/step_list.py b/vmdb/step_list.py
index 20e3ec6..468cf35 100644
--- a/vmdb/step_list.py
+++ b/vmdb/step_list.py
@@ -95,3 +95,10 @@ class NotString(StepError): # pragma: no cover
def __init__(self, name, actual):
msg = '%s: value must be string, got %r' % (name, actual)
super().__init__(msg)
+
+
+class IsEmptyString(StepError): # pragma: no cover
+
+ def __init__(self, name, actual):
+ msg = '%s: value must not be an empty string, got %r' % (name, actual)
+ super().__init__(msg)