Commit 74ab7ce
committed
Fix pattern parsing from <package>:<pattern> string
Split `<pattern>` argument into tests_dir glob and pattern glob as being found
in unittesting.json.
MyPackage:mytests/**/test*.py
=> package=MyPackage, tests_dir=mytests/**, pattern=test.py
If no path is given, `tests_dir` from unittesting.json or default is used.
MyPackage:test*.py
=> package=MyPackage, tests_dir=tests/, pattern=test.py1 parent ccda2b4 commit 74ab7ce
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
0 commit comments