) print print os.system('kill %d' % os.getpid()) finally: if len(errors) > 0: print "Exceptions" for error in errors: print error else: print "Test suite had no errors" feature_results = self.collate_results(results) time_elapsed = datetime.utcnow() - begin_time total = TotalResult(feature_results, time_elapsed) total.persist_to_csv() # explictly cleaning up manager manager.shutdown() call_hook('after', 'all', total) if failed: raise SystemExit(2) return total
) print print os.system("kill %d" % os.getpid()) finally: if len(errors) > 0: print "Exceptions" for error in errors: print error else: print "Test suite had no errors" feature_results = self.collate_results(results) time_elapsed = datetime.utcnow() - begin_time total = TotalResult(feature_results, time_elapsed) total.persist_to_csv() # explictly cleaning up manager manager.shutdown() call_hook("after", "all", total) if failed: raise SystemExit(2) return total