[Happydoc-checkins] CVS: HappyDoc/happydoclib happydocstring.py,1.2,1.3
Brought to you by:
doughellmann,
krlosaqp
From: Doug H. <dou...@us...> - 2002-08-04 10:47:33
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib In directory usw-pr-cvs1:/tmp/cvs-serv12501/happydoclib Modified Files: happydocstring.py Log Message: Provide a default for the output directory for tests. Index: happydocstring.py =================================================================== RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/happydocstring.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** happydocstring.py 10 Feb 2002 13:06:00 -0000 1.2 --- happydocstring.py 4 Aug 2002 10:47:30 -0000 1.3 *************** *** 185,188 **** --- 185,195 ---- class DocStringConverterTest(StreamFlushTest): + def __init__(self, methodName, outputDir=''): + StreamFlushTest.__init__(self, methodName, outputDir) + + import happydoclib.docstring + self._hddocstring = happydoclib.docstring + return + def _testConversion(self, inputText, inputFormat, outputFormat, expectedText, errorMessage, *************** *** 208,218 **** quoted_text = converter.quote(inputText, 'html' ) assert (quoted_text == expectedText), errorMessage - return - - def __init__(self, methodName, outputDir): - StreamFlushTest.__init__(self, methodName, outputDir) - - import happydoclib.docstring - self._hddocstring = happydoclib.docstring return --- 215,218 ---- |