mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
6530780c8d
commit
4fe2862f2b
@ -169,7 +169,7 @@ class SearchQueryParser(object):
|
||||
|
||||
self._parser = Or
|
||||
#self._parser.setDebug(True)
|
||||
#self.parse('(tolstoy)')
|
||||
#self.parse('x ore')
|
||||
self._parser.setDebug(False)
|
||||
|
||||
|
||||
@ -584,7 +584,10 @@ class Tester(SearchQueryParser):
|
||||
|
||||
|
||||
def main(args=sys.argv):
|
||||
tester = Tester(test=True)
|
||||
tester = Tester(['authors', 'author', 'series', 'formats', 'format',
|
||||
'publisher', 'rating', 'tags', 'tag', 'comments', 'comment', 'cover',
|
||||
'isbn', 'ondevice', 'pubdate', 'size', 'date', 'title', u'#read',
|
||||
'all', 'search'], test=True)
|
||||
failed = tester.run_tests()
|
||||
if tester._tests_failed or failed:
|
||||
print '>>>>>>>>>>>>>> Tests Failed <<<<<<<<<<<<<<<'
|
||||
|
Loading…
x
Reference in New Issue
Block a user