60 Commits

Author SHA1 Message Date
Kovid Goyal
4dc0502a29
Fix failing tests 2021-06-27 20:13:57 +05:30
Kovid Goyal
efdf661457
Remove DBUS based global menu and system tray code
This was mainly present to support GNOME and GNOME has decided to ditch
system trays and global menus. Since the python-dbus package this code
uses is not maintained, ditch it entirely.
2021-06-24 10:55:12 +05:30
Kovid Goyal
009e82c9df
Turn on deprecation warnings in CI 2021-06-24 10:20:19 +05:30
Kovid Goyal
53168e075e
Alias for test name option 2021-06-19 14:59:48 +05:30
Kovid Goyal
3dd9598139
Remove ASAN patch for bug in arch Qt. Thanks @eli-schwartz 2021-04-14 10:47:53 +05:30
Kovid Goyal
51983180dd
Fix ASAN failure on Arch because they switched to some random patchset on top of base Qt 2021-04-08 13:16:55 +05:30
Kovid Goyal
5ce36cc3e6
Option to run tests under sanitizer 2021-03-22 09:35:17 +05:30
Kovid Goyal
f92439fe6b
Move tests into separate module
Avoids parsing the test code on every import of a very central module
2021-01-21 05:54:51 +05:30
Joseph R. Fox-Rabinovitz
efe490b1b7 Added unit tests for author sort function 2021-01-15 12:47:44 -05:00
Kovid Goyal
d8e7a58646
Start work on unified framework for live code loading 2020-12-18 18:20:37 +05:30
Kovid Goyal
e430bf3312
PDF Output: Yet another attempt at working around chromium's broken TTF embedding. Fixes #1907849 [conversion to pdf results in bizarre kerning](https://bugs.launchpad.net/calibre/+bug/1907849)
This has the advantage of making the merging code a lot simpler as well.
2020-12-12 13:41:48 +05:30
Kovid Goyal
d6887a1bfd
Exclude winsapi from import all tests on non-windows 2020-10-22 13:47:48 +05:30
Kovid Goyal
da5964ec07
Run the SAPI tests in CI 2020-10-22 13:37:37 +05:30
Kovid Goyal
13552bef07
isosx -> ismacos 2020-09-09 14:51:09 +05:30
Kovid Goyal
5075fc2d36
Keep annotations sorted in CFI order when merging 2020-08-22 18:48:11 +05:30
Kovid Goyal
e7e78da5c1
Fix devendoring meta path magic on py3 2020-08-22 18:48:03 +05:30
Kovid Goyal
01b0fba8ad
Auto fix excess blank lines 2020-08-22 18:47:56 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
6c9c141c3e
Add a command to easily run rapydscript tests 2020-04-02 16:34:07 +05:30
Aimylios
5c795352c9 Allow excluding individual tests from test run 2020-01-17 21:54:25 +01:00
Kovid Goyal
231664e7ca
Move test location 2020-01-08 22:25:38 +05:30
Kovid Goyal
f0e6ead4c7
Better workaround for XXE in lxml
Instead of disabling resolution of all entities, only disable resolution
of entities from files
2020-01-08 22:03:38 +05:30
Kovid Goyal
b16b5535bf
Implement mapping of locales to dictionary names 2019-12-01 10:50:32 +05:30
Kovid Goyal
d304e08ec1
Code to merge W arrays 2019-09-13 09:12:24 +05:30
Kovid Goyal
7803f3de36
Rename viewer2 to viewer 2019-09-13 09:12:20 +05:30
Kovid Goyal
59b9357c0c
Add tests for the new viewer cache 2019-09-13 09:12:11 +05:30
Kovid Goyal
c5aeaa8c8a
Cleanup HTML metadata parsing 2019-08-12 10:10:50 +05:30
Kovid Goyal
0f3b2e2329
Dont use win32com for adding to recent docs 2019-06-11 14:50:05 +05:30
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