Mercurial > moin > 1.9
changeset 2950:42f93f4db9d0
search tests: cosmetic fix
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Fri, 30 Nov 2007 13:32:36 +0100 |
parents | 2def79ea092e |
children | bca1a0c997a2 |
files | MoinMoin/search/_tests/test_search.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/search/_tests/test_search.py Thu Nov 29 18:06:56 2007 +0100 +++ b/MoinMoin/search/_tests/test_search.py Fri Nov 30 13:32:36 2007 +0100 @@ -13,9 +13,6 @@ """search: quoting bug tests http://moinmoin.wikiwikiweb.de/MoinMoinBugs/SearchOneCharString - - This is only a little stupid test for the isQuoted method, because - testing parsed queries is much more work. """ def testIsQuoted(self): @@ -24,7 +21,7 @@ for case in ('"yes"', "'yes'"): assert parser.isQuoted(case) - def testIsNot(self): + def testIsNotQuoted(self): """ search: quoting bug - unquoted terms """ tests = ('', "'", '"', '""', "''", "'\"", '"no', 'no"', "'no", "no'", '"no\'') parser = search.QueryParser()