Commit Graph

227 Commits

Author SHA1 Message Date
Simon Conseil
8005a8a6d3 Add test 2020-11-25 23:33:21 -03:00
Simon Conseil
94ce7d52cc Fix video thumbnail creation when delay > video length 2020-11-25 23:24:50 -03:00
Simon Conseil
62fd35a665 Compatibility with Pillow 7.2 2020-07-13 22:35:35 -04:00
Simon Conseil
0ba9b108dd Merge pull request #385 from dbw9580/plugin_encrypt
Plugin encrypt
2020-04-20 09:30:47 -04:00
Bowen Ding
6c242b3272 Make kdf_gen_key accept str; minor fixes 2020-04-14 15:37:29 +08:00
Simon Conseil
8547f18e6b Use tmpdir instead of custom fixture 2020-04-13 23:11:07 -04:00
Bowen Ding
f80dff1f6e Fix line endings 2020-04-13 16:34:40 +08:00
Bowen Ding
2c4fdd687d Fix writer.py and test_encrypt.py 2020-04-13 16:26:43 +08:00
Bowen Ding
28f187f12f Add test 2020-04-11 00:39:28 +08:00
Bowen Ding
87f29707b8 Add plugin encrypt 2020-03-31 00:59:54 +08:00
Simon Conseil
e533b32dfc Run isort 2020-03-15 22:58:03 -03:00
Kevin Murray
fcbb197cc5 Add a setting to force image output format 2020-03-15 22:43:35 -03:00
Simon Conseil
c78fff6305 Run pyupgrade 2020-03-15 22:13:12 -03:00
Simon Conseil
42b362ace0 Remove test code for old Pillow version 2020-01-04 00:54:12 -03:00
Simon Conseil
538f535b5e Fix tests with Pillow 7.0 2020-01-04 00:51:44 -03:00
Simon Conseil
45de6e7b6d Make sure that read-only files can be copied (fix #375) 2019-10-04 00:01:41 -03:00
Simon Conseil
ee2b5cc5be Fix typo in tests settings 2019-08-29 00:08:20 +02:00
Simon Conseil
1d79e3f7a5 Forgot to add file for the test 2019-08-26 01:14:01 +02:00
Simon Conseil
2677cba655 Add test for .nozip_gallery 2019-08-26 01:05:27 +02:00
Simon Conseil
bcf4b82d05 Activate the zip_gallery plugin for tests 2019-08-26 00:54:29 +02:00
Simon Conseil
af67de6ee5 Feeds: fix links to gallery and image, ref #361 2019-02-08 23:38:37 +01:00
max (maauer)
f2f6fbe594 Fix test for relative links 2019-02-01 13:42:56 -05:00
max (maauer)
4ec2a25a2e Add test for relative links 2019-02-01 12:43:52 -05:00
tudacs
b7a2a5a060 Remove unnecessary code from tests 2018-12-19 19:19:05 +01:00
tudacs
d833573f25 Add headline test 2018-12-19 18:59:32 +01:00
tudacs
0adffcbcb5 Add test for SyntaxError thrown by IptcImagePlugin, assert log 2018-12-19 18:35:24 +01:00
Simon Conseil
675bcbc55d Add test with special chars in a markdown file 2018-10-12 22:39:25 +02:00
Simon Conseil
8fc30e7a1d Quote the album thumbnail's path 2018-10-10 22:34:07 +02:00
Simon Conseil
daa85c73fc Fixes following rebase 2018-10-10 22:34:07 +02:00
Simon Conseil
a212eb05b3 Quote special chars in urls. 2018-10-10 22:31:54 +02:00
Simon Conseil
705e41a908 Another fix for test_ignores 2018-09-05 17:38:07 +02:00
Simon Conseil
5b37e6b1e3 Fix video test 2018-09-05 13:26:05 +02:00
Simon Conseil
fbb056e3b9 Add doc page with licenses and replace a few images
whose license/origin is unclear
2018-09-05 09:00:55 +02:00
Simon Conseil
75c4ab13aa Try running test_album without setting the locale (#339) 2018-09-02 22:04:25 +02:00
Simon Conseil
23cc8a994b Remove encoding specification 2018-08-27 00:15:17 +02:00
Simon Conseil
915030a2f3 Remove the u prefix for unicode strings 2018-08-27 00:11:07 +02:00
Glandos
f95393b114 empty content means empty meta dict, not absent 2018-06-19 22:43:43 +02:00
Simon Conseil
f178a50b5e Remove duplicated assert 2018-03-18 23:20:27 +01:00
Simon Conseil
f2753ba52d Merge pull request #302 from Glandos/more_compress_tests
[compress_assets] Mission: 100% coverage
2018-03-18 22:01:38 +01:00
Glandos
99c7af208b Remove custom code to mask modules, use builtin features.
Note that it uses unittest.mock that is available from Python 3.3
2018-03-11 21:08:55 +01:00
Simon Conseil
599115a20f Use subprocess.run instead of custom wrapper 2018-03-11 01:22:11 +01:00
Simon Conseil
4bab96fdde Remove py2 code 2018-03-05 00:53:39 +01:00
Glandos
a4cfce4371 prepend instead of appending, to be the first 2018-02-20 22:25:00 +01:00
Glandos
f8f67db0d9 Return a loader, to be sure to interrupt the finder algorithm 2018-02-20 22:24:41 +01:00
Glandos
dda9fbc592 delete existing import harder 2018-02-20 22:24:09 +01:00
Glandos
2b3fcbaac3 make a function for duplicated code 2018-02-19 22:30:00 +01:00
Glandos
0e698e58b9 test no compression cases 2018-02-19 22:26:56 +01:00
Glandos
2d8f32cab4 Add a module masker fixture.
This is handy to make some module disappear to test an import failure.
2018-02-19 22:25:20 +01:00
Glandos
43139092ab test compression twice to ensure we test the stat path 2018-02-19 22:23:48 +01:00
Glandos
a832e35d38 speed up tests by using original media.
We don't care about media processing here.
2018-02-19 22:21:27 +01:00