Skip to content

Commit

Permalink
Debugging windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Sep 8, 2022
1 parent 5aa69e9 commit 8510722
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dandi/tests/test_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ def test_validate_bids(bids_examples, tmp_path):

# Check if a report is being produced.
pid = os.getpid()
log_dir = appdirs.user_log_dir("dandi")
report_expression = os.path.join(log_dir, f"bids-validator-report_*-{pid}.log")
assert len(glob(report_expression)) == 1
log_dir = appdirs.user_log_dir("dandi-cli")
report_expression = os.path.join(log_dir, f"bids-validator-report_*-{pid}.log")
assert len(glob(report_expression)) == 1
Expand Down

0 comments on commit 8510722

Please sign in to comment.