This commit is contained in:
Kovid Goyal 2022-12-24 09:55:08 +05:30
parent 15e73ff2ee
commit 298f8e8b7f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -633,9 +633,8 @@ def urls_from_identifiers(identifiers, sort_results=False): # {{{
# }}} # }}}
if __name__ == '__main__': # tests {{{ def tests(start=0, limit=256): # tests {{{
# To run these test use: calibre-debug -e # To run these test use: calibre-debug -c "from calibre.ebooks.metadata.sources.identify import tests; tests()"
# src/calibre/ebooks/metadata/sources/identify.py
from calibre.ebooks.metadata.sources.test import ( from calibre.ebooks.metadata.sources.test import (
authors_test, test_identify, title_test authors_test, test_identify, title_test
) )
@ -678,5 +677,5 @@ if __name__ == '__main__': # tests {{{
] ]
# test_identify(tests[1:2]) # test_identify(tests[1:2])
test_identify(tests) test_identify(tests[start:limit])
# }}} # }}}