Bob Swift
495736a369
Include zip file in short path. Improve tests regarding plugin paths.
2024-04-15 12:47:16 -06:00
Bob Swift
44b1d028a8
Revert change removing the leading "plugins/"
2024-04-15 11:05:06 -06:00
Bob Swift
e827942a5a
Remove leading "path/". Start all absolute paths with "/".
2024-04-15 09:36:29 -06:00
Bob Swift
28f9f930af
Update plugin path shortening logic
2024-04-13 22:58:58 -06:00
Laurent Monin
eb21f7edb0
Introduce DebugOpt.PLUGIN_FULLPATH and shorten plugin paths in logs
2024-04-12 13:40:48 +02:00
Laurent Monin
b282a593ae
Fix inconsistency with relative paths
...
`picard_module_path` can be a file path or a dir path.
When it's a frozen package, that's always a directory, and when running from source it is always a file path.
Ensure it is always a directory (that is the parent of the file path if it happens)
2024-04-12 12:26:56 +02:00
Laurent Monin
c5a64d4e50
Unify Win/Posix output
2024-04-10 18:29:41 +02:00
Laurent Monin
6fbf76b075
Add win-specific tests
2024-04-10 18:12:39 +02:00
Laurent Monin
aad9be0088
Correctly handle __init__ within path (unlikely, but...)
2024-04-10 18:03:21 +02:00
Laurent Monin
577c90928f
Do not run test on Win (yet)
2024-04-10 17:58:57 +02:00
Laurent Monin
9804f736df
Fix weird case
2024-04-10 17:49:23 +02:00
Laurent Monin
6d5bb0ccfc
Use PurePosixPath
2024-04-10 17:42:58 +02:00
Laurent Monin
2fbeceb9dc
Add tests for log.name_filter()
2024-04-10 17:36:58 +02:00
Laurent Monin
2f6479747d
Update headers
2022-02-07 09:41:57 +01:00
Laurent Monin
14ce07756e
Update Copyright headers, with the help of fix-headers.py script
2021-11-10 21:38:54 +01:00
Philipp Wolfer
49931a136e
Renamed mock classes in test_log
...
Avoids warnings by pytest trying to interpret these classes as test fixtures.
2021-11-10 08:08:50 +01:00
Gabriel Ferreira
adf051cb65
Reduce comparison overhead of logging window
2021-03-28 15:31:57 -03:00