summaryrefslogtreecommitdiffstats
path: root/sdnvpn/lib/results.py
diff options
context:
space:
mode:
Diffstat (limited to 'sdnvpn/lib/results.py')
-rw-r--r--sdnvpn/lib/results.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sdnvpn/lib/results.py b/sdnvpn/lib/results.py
index 5661d07..9f4fd19 100644
--- a/sdnvpn/lib/results.py
+++ b/sdnvpn/lib/results.py
@@ -114,6 +114,12 @@ class Results(object):
def add_success(self, test):
self.add_to_summary(2, "PASS", test)
+ def add_subtest(self, test, successful):
+ if successful:
+ self.add_success(test)
+ else:
+ self.add_failure(test)
+
def check_ssh_output(self, vm_source, vm_target,
expected, timeout=30):
console_log = vm_source.get_console_output()