From: Radek Pazdera rpazdera@redhat.com
This commit adds new exception to NetTestController that will be used to indicate errors in recipe execution.
Signed-off-by: Radek Pazdera rpazdera@redhat.com --- NetTest/NetTestController.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/NetTest/NetTestController.py b/NetTest/NetTestController.py index a997e37..1dcfc69 100644 --- a/NetTest/NetTestController.py +++ b/NetTest/NetTestController.py @@ -25,6 +25,9 @@ from NetTest.NetTestSlave import DefaultRPCPort from NetTest.NetTestCommand import NetTestCommand, str_command from Common.LoggingServer import LoggingServer
+class NetTestError(Exception): + pass + def ignore_event(**kwarg): pass