From: Jeremy Stanley Date: Sun, 11 Oct 2015 04:29:32 +0000 (+0000) Subject: Mention test session capture log file names X-Git-Tag: 0.0.1~202 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=46c017e77930145841d235c73815056a1a6e9327;p=mudpy.git Mention test session capture log file names When writing functional test session capture logs, mention the file names for ease of reference. --- diff --git a/bin/test b/bin/test index 1f5f91f..9a5e9d0 100755 --- a/bin/test +++ b/bin/test @@ -173,7 +173,9 @@ for conversant in range(len(captures)): except: pass lusers[conversant].close() - log = open("capture_%s.log" % conversant, "w") + logfile = "capture_%s.log" % conversant + print("Recording session %s as %s." % (conversant, logfile)) + log = open(logfile, "w") log.write(captures[conversant]) log.close() print("\nRan %s tests in %.3f seconds." % (len(dialogue), duration))