31 Commits

Author SHA1 Message Date
Kovid Goyal
b842fe758a
Fixes for f2e0181926 2019-05-27 14:25:52 +05:30
Kovid Goyal
8366df8637
Run code quality checks on the odf package 2019-05-20 16:52:16 +05:30
Kovid Goyal
50dd4952cb
Fix removal of invalid directories in import test 2019-04-10 20:48:09 +05:30
Kovid Goyal
8b280c03c3
py3: Port RTF metadata module 2019-03-31 13:45:46 +05:30
Kovid Goyal
c33768b35e
Move the python imports test out of the build test module
The build test is designed to run with frozen calibre, where the
source files may not be available. So run it only as part of
the setup test suite.
2019-03-31 09:31:38 +05:30
Kovid Goyal
de9d97d688
Port use of BS for comments_html() 2019-03-25 09:52:45 +05:30
Kovid Goyal
ae735b2ea3
De-vendor html2text 2019-03-20 14:42:46 +05:30
Kovid Goyal
626d5aa1ce
Infrastructure for author name mapping 2018-07-17 15:32:58 +05:30
Kovid Goyal
3f9c5a8719
Move the search query parser tests into their own module and integrate with the calibre testing system 2018-01-18 10:03:30 +05:30
Kovid Goyal
0fdf23de8b
Simplify windows exclusive file implementation by using msvcrt.locking as a fcntl substitute 2017-05-21 13:39:26 +05:30
Kovid Goyal
02aa7f1be0
Remove library.cli completely 2017-05-21 13:39:23 +05:30
Kovid Goyal
60f4031e1b Do not run the dictionaries test multiple times 2017-01-14 11:03:46 +05:30
Kovid Goyal
2d185e8f9f Add the dictionary tests to the global test suite 2017-01-14 10:25:12 +05:30
Kovid Goyal
1ff4f01b39 Use find_tests() for library.test_cli as well 2016-12-05 19:00:00 +05:30
James Broadhead
a6093e8cac rm c.library.test
Per comment on https://github.com/kovidgoyal/calibre/pull/592, this test
module is unnecessary.
2016-12-05 11:28:01 +00:00
James Broadhead
8522ac55af Run calibre.library tests
- follow convention, add a find_tests, tests method to
  calibre.library.test. Add calibre.library to the list in setup/test.py

- sort some imports

- add .cache to .gitignore
2016-12-05 08:42:53 +00:00
Kovid Goyal
253fd95479 Add shared file tests to main test runner 2016-07-04 09:48:33 +05:30
Kovid Goyal
08d56e2eee Add the tag mapper tests to the main test runner 2016-07-04 09:37:15 +05:30
Kovid Goyal
996b6b80df Unused code 2016-06-24 23:14:43 +05:30
Kovid Goyal
d11e8ce62c Aaaah, now I get it :) 2016-06-24 23:13:10 +05:30
Kovid Goyal
9c1498d4ca As best as I can tell from reading Qt sourcecode, as long as QT_PLUGIN_PATH is set, it should just work. So only call ensure_app() on travis and nowhere else 2016-06-24 23:09:06 +05:30
Kovid Goyal
c4cc4b386d Unfortunately QCoreApplication cannot be promoted to QApplication. So for the moment we back out the change to have img.py work without QApplication. Instead, run ensure_app() in the test loader. Will need to investigate a proper fix at my leisure 2016-06-24 22:40:37 +05:30
Kovid Goyal
3310d3519a Run the build tests also from python setup.py test 2016-06-24 08:45:57 +05:30
Kovid Goyal
d13fd2a27b ... 2016-06-23 12:47:00 +05:30
Kovid Goyal
55ca6cb33c DRYer 2016-06-22 08:02:03 +05:30
Kovid Goyal
32caccc325 Fix test iteration 2016-06-22 07:11:13 +05:30
Kovid Goyal
ceeb2b21f9 Proper location for ensure_app when running srv tests 2016-06-21 23:40:04 +05:30
Kovid Goyal
18792fb11a Allow choosing individual tests to run 2016-06-21 23:34:20 +05:30
Kovid Goyal
f89a794396 DRYer 2016-06-21 23:16:07 +05:30
Kovid Goyal
759231ca53 Merge selectors tests into css module 2016-06-21 23:13:06 +05:30
Kovid Goyal
538f0a7186 A single entry point to run all tests 2016-06-21 23:12:06 +05:30