Commit graph

9 commits

Author SHA1 Message Date
lilydjwg
89b4cd90ba tests: use asyncio_default_fixture_loop_scope = "session"
See also https://github.com/pytest-dev/pytest-asyncio/issues/924.
2024-11-03 18:30:54 +08:00
lilydjwg
1e5de6cbcb support using prefix and from_pattern/to_pattern at the same time
closes #249.
2024-02-27 13:52:35 +08:00
Chih-Hsuan Yen
4ca61ba11a tests: fix for pytest-asyncio 0.23 2023-12-09 20:38:00 +08:00
Felix Yan
071b57c580
Allow empty to_pattern
It's useful to have a partial match pattern to be replaced by an empty
string, like stripping a suffix. Let's allow it as "not to_pattern" will
reject this.
2020-10-02 04:39:57 +08:00
lilydjwg
4887ec66d9 port more tests 2020-08-17 16:21:02 +08:00
lilydjwg
10f6b1561e start porting tests to new version 2020-08-17 15:11:14 +08:00
lilydjwg
93d1ca16db update tests 2019-07-04 16:47:33 +08:00
Yen Chi Hsuan
05b604530c Refine docs of substitution options and add a test for option priority 2017-10-12 22:48:06 +08:00
Yen Chi Hsuan
ffa6eb7b8f Add documents and tests for substitution commands 2017-10-11 01:50:44 +08:00