numirias / pytest-json-report

🗒️ A pytest plugin to report test results as JSON
MIT License
146 stars 39 forks source link

make test not expect *nix style absolute paths starting with `/` #66

Closed jurko-gospodnetic closed 3 years ago

jurko-gospodnetic commented 3 years ago

Fixes the three failing tests on Windows. Fixes issue #65.

Unless you expect those paths to be able to come from tests running on machines running different operating systems, in which case much more involved refactoring would be needed there to figure out which machine that path came from, what OS it's running and how to parse the path in a way specific to that OS.