GSTT-CSC / hazen

Quality assurance framework for Magnetic Resonance Imaging
https://github.com/GSTT-CSC/hazen
Apache License 2.0
22 stars 12 forks source link

CLIParser test fail under Windows with relative path names #227

Closed pcw24601 closed 1 year ago

pcw24601 commented 2 years ago

Describe the bug The CLI parser tests fail when run in a Windows environment.

To Reproduce Steps to reproduce the behavior:

  1. Open PyCharm in a Windows environment.
  2. Run pytest for tests.
  3. Tests fail if not run in the correct path.

Expected behavior Tests should pass under both *nix and Windows file systems regardless of starting directory.

Screenshots image

Desktop (please complete the following information):

Additional context Suggest using TEST_DATA_DIR

tomaroberts commented 1 year ago

@pcw24601 – looks like this was resolved in release 0.7.0 a little while back. Are you happy if I close this issue?