17 Commits

Author SHA1 Message Date
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