argschema icon indicating copy to clipboard operation
argschema copied to clipboard

Test suite doesn't run in Windows

Open JFPerkins opened this issue 8 years ago • 1 comments

Currently the tests are configured to run with --boxed which explicitly calls os.fork() and results in pytest throwing an error because fork is not supported on Windows.

Removing the --boxed flag, test_files.test_output_file_no_write failed and test_files.test_output_dir_bad_permission actually just hung indefinitely.

JFPerkins avatar Apr 09 '18 16:04 JFPerkins

Well, I fixed the indefinite hanging but 4 tests continue to fail because chmod isn't actually fully supported on Windows.

https://github.com/JFPerkins/argschema/tree/fix-windows-tests

Failing tests:

  • test_outputfile_no_write
  • test_mode_output_osdir
  • test_access_inputfile_failed
  • test_inputdir_no_access

JFPerkins avatar Apr 09 '18 17:04 JFPerkins