Commit Graph

19 Commits

Author SHA1 Message Date
Simon Conseil
6997fe3290 Optimize slow tests 2023-07-15 17:07:07 +02:00
Simon Conseil
df525a1743 Move cli handling to __main__ 2023-07-15 13:05:55 +02:00
Simon Conseil
66bd01106b Normalize strings 2023-02-14 22:17:13 +01:00
Simon Conseil
67689730a6 Use black 2021-07-07 00:15:20 +02:00
Simon Conseil
e533b32dfc Run isort 2020-03-15 22:58:03 -03:00
Simon Conseil
23cc8a994b Remove encoding specification 2018-08-27 00:15:17 +02:00
Simon Conseil
f178a50b5e Remove duplicated assert 2018-03-18 23:20:27 +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
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
Simon Conseil
2f29efbf9e Reuse the disconnect_signals fixture 2018-02-16 23:36:52 +01:00
Glandos
93f51e3e56 Use parameters for parametrized test
Instead of hardcoded values…
2018-02-16 09:24:33 +01:00
Glandos
bb7c752019 Add compress_assets plugin:
- The plugin
- Configuration
- Myself as author
- Docs
- Tests
- Dependencies for Travis
2018-02-15 22:55:47 +01:00