From 0c6ca7a476f8027f0d6f39545ab07a999220762b Mon Sep 17 00:00:00 2001 From: Raphael Bauduin Date: Tue, 19 May 2015 07:01:14 -0700 Subject: [PATCH] step 2 --- src/mpIterator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mpIterator.py b/src/mpIterator.py index 52ebad9..c0f9b84 100755 --- a/src/mpIterator.py +++ b/src/mpIterator.py @@ -28,6 +28,8 @@ class MinDelayValidation: self.compared=v["target"] def validate(self, flow): return self.compared<=flow[5] + + class TcptraceTest: def __init__(self, yml, trace): self.yml = yml["validations"] @@ -35,7 +37,6 @@ class TcptraceTest: def validate(self): print self.yml for val in self.yml: - print "val: ", val tested_value = self.get_tested_value(val) klass_name=val["name"].title().replace("_","")+"Validation" tester_klass=globals()[klass_name]