Skip to content

Commit

Permalink
make test not expect *nix style absolute paths starting with /
Browse files Browse the repository at this point in the history
  • Loading branch information
jurko-gospodnetic authored and numirias committed Jun 11, 2021
1 parent c7c5348 commit 64798a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_jsonreport.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
import os.path
import sys
import pytest

Expand Down Expand Up @@ -52,7 +53,7 @@ def test_report_keys(num_processes, make_json):
assert set(data) == keys
assert isinstance(data['created'], float)
assert isinstance(data['duration'], float)
assert data['root'].startswith('/')
assert os.path.isabs(data['root'])
assert data['exitcode'] == 1


Expand Down

0 comments on commit 64798a4

Please sign in to comment.