# HG changeset patch # User Catherine Devlin # Date 1238692217 14400 # Node ID 573bf9c2a043f3688c1833b2d76084b50735df19 # Parent 07dff0ba981ec43da75c522b1497632bc34bdf50 multiple tests hanging, grr diff -r 07dff0ba981e -r 573bf9c2a043 cmd2.py --- a/cmd2.py Wed Apr 01 18:05:51 2009 -0400 +++ b/cmd2.py Thu Apr 02 13:10:17 2009 -0400 @@ -1112,10 +1112,11 @@ transcriptFileName = '' transcriptExtension = '' def fetchTranscripts(self): + import pdb; pdb.set_trace() self.transcripts = [] - if self.CmdApp.testfile: - transcriptfilenames = [self.CmdApp.testfile] - elif self.transcriptExtension: + #if self.CmdApp.testfile: + # transcriptfilenames = [self.CmdApp.testfile] + if self.transcriptExtension: transcriptfilenames = glob.glob('*.' + self.transcriptExtension) elif self.transcriptFileName: transcriptfilenames = [self.transcriptFileName] @@ -1128,6 +1129,7 @@ if self.CmdApp: self.outputTrap = OutputTrap() self.cmdapp = self.CmdApp() + import pdb; pdb.set_trace() self.fetchTranscripts() def assertEqualEnough(self, got, expected, message): got = got.strip().splitlines() @@ -1139,7 +1141,6 @@ self.assert_(re.match(matchme, linegot.strip()), message) def testall(self): if self.CmdApp: - self.fetchTranscripts() for transcript in self.transcripts: self._test_transcript(transcript) def _test_transcript(self, transcript):