Commit 1bb4804
committed
test: Fix coverage reporting
By adding the current working directory to the `sys.path`.
Run via `python -m pytest` (not `py.test`) so the working directory
is on `sys.path`, and coverage measures the local `injector/`
rather than the copy installed in site-packages. Otherwise coverage
reports 0%.
See pytest-dev/pytest-cov#981 parent bc0b08a commit 1bb4804
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments