1#!/usr/local/bin/python3.8 2# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:fdm=marker:ai 3 4 5__license__ = 'GPL v3' 6__copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' 7__docformat__ = 'restructuredtext en' 8 9from calibre.utils.run_tests import find_tests_in_package, run_tests 10 11 12def find_tests(): 13 return find_tests_in_package('calibre.db.tests') 14 15 16if __name__ == '__main__': 17 try: 18 import init_calibre # noqa 19 except ImportError: 20 pass 21 run_tests(find_tests) 22