Add a new exception for invalid structure
This commit fixes too broad exception in output_parser. Otherwise, we
can't assert the Exception in unit tests.
Partially implements bp unit-tests
Change-Id: I9e45571dbf964a37dd9d0249a6f662216d5d046c
diff --git a/tempest/exceptions/__init__.py b/tempest/exceptions/__init__.py
index 485f532..d313def 100644
--- a/tempest/exceptions/__init__.py
+++ b/tempest/exceptions/__init__.py
@@ -158,3 +158,7 @@
class UnexpectedResponseCode(base.RestClientException):
message = "Unexpected response code received"
+
+
+class InvalidStructure(base.TempestException):
+ message = "Invalid structure of table with details"