Fix bug 760
This commit fixes bug 670 by introducing a new PrimitiveDoesNotExist
exception that will be raised if ExecutePrimitive is called but the
primitive does not exist in the charm.
This also bumps the required version of websocket to match libjuju,
along with other minor tweaks to the test framework
Change-Id: I028c3c9c19fbfa87c8feb788446a290d66112043
Signed-off-by: Adam Israel <adam.israel@canonical.com>
diff --git a/tests/base.py b/tests/base.py
index 663e89a..ce95056 100644
--- a/tests/base.py
+++ b/tests/base.py
@@ -1131,7 +1131,8 @@
return True
except Exception as ex:
debug("execute_initial_config_primitives exception: {}".format(ex))
-
+ raise ex
+
return False
@classmethod