def doTest(self, label, st_args): st = Stegotorus(st_args) tester = Tltester(self.scriptFile, ("127.0.0.1:4999", "127.0.0.1:5001")) errors = "" try: testtl = tester.check_completion(label + " tester") if testtl != self.reftl: errors += diff("errors in transfer:", self.reftl, testtl) except AssertionError, e: errors += e.message
def doTest(self, label, st_args, reftl = None): import pdb #pdb.set_trace() errors = "" st = Stegotorus(st_args) try: testtl = st.check_completion(label + " tester") if ((reftl == None) and (testtl != self.reftl)) or ((reftl != None) and (testtl != reftl)): errors += diff("errors in transfer:", self.reftl, testtl) except AssertionError, e: errors += e.message