Mercurial > moin > 1.9
changeset 284:16dcb33f2571
tests cosmetical change: fix typos
imported from: moin--main--1.5--patch-288
author | Thomas Waldmann <tw@waldmann-edv.de> |
---|---|
date | Sun, 04 Dec 2005 15:32:56 +0000 |
parents | c4a6c15d176f |
children | 2323fc2eab55 |
files | MoinMoin/_tests/test_converter_text_html_text_x_moin.py |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/_tests/test_converter_text_html_text_x_moin.py Sun Dec 04 12:28:54 2005 +0000 +++ b/MoinMoin/_tests/test_converter_text_html_text_x_moin.py Sun Dec 04 15:32:56 2005 +0000 @@ -27,18 +27,18 @@ def tearDown(self): del self.cfg - def do_convert_real(self, func_args, successfull = True): + def do_convert_real(self, func_args, successful=True): try: ret = convert(*func_args) except error, e: - if successfull: + if successful: self.fail("fails with parse error: %s" % e) else: return - if successfull: + if successful: return ret else: - self.fail("don't fail with parse error") + self.fail("doesn't fail with parse error") class MinimalPage(object): @@ -48,8 +48,7 @@ class MinimalRequest(object): - # TODO: do we really need this class? no other test use a request - # replacement. + # TODO: do we really need this class? no other test uses a request replacement. def __init__(self, request): self.request = request @@ -1048,7 +1047,7 @@ def testWikiWord01(self): test = ur"WikiWord" - output = ur"""<a href=""""" + output = ur"""<a href=""""" # XXX ??? self.do(test, output) def testNoWikiWord01(self): @@ -1145,3 +1144,4 @@ if __name__ == '__main__': unittest.main() +