bw2 / ConfigArgParse

A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.
MIT License
719 stars 121 forks source link

Windows tests are broken #269

Closed tristanlatr closed 1 year ago

tristanlatr commented 2 years ago

Here are the failed tests:

FAILED tests/test_configargparse.py::TestBasicUseCases::testBasicCase2 - Perm...
FAILED tests/test_configargparse.py::TestBasicUseCases::testBasicCase2_WithGroups
FAILED tests/test_configargparse.py::TestBasicUseCases::testMutuallyExclusiveArgs
FAILED tests/test_configargparse.py::TestBasicUseCases::testSubParsers - Syst...
FAILED tests/test_configargparse.py::TestMisc::testAddArguments_IsConfigFilePathArg
FAILED tests/test_configargparse.py::TestMisc::testConstructor_ConfigFileArgs
FAILED tests/test_configargparse.py::TestMisc::testConstructor_WriteOutConfigFileArgs
FAILED tests/test_configargparse.py::TestMisc::testConstructor_WriteOutConfigFileArgs2
FAILED tests/test_configargparse.py::TestMisc::testConstructor_WriteOutConfigFileArgsLong
FAILED tests/test_configargparse.py::TestMisc::test_AbbrevConfigFileArgs

They all fail because of error PermissionError: [Errno 13] Permission denied.

Maybe simply skipping them is OK ? Though it seems like important tests :/

bw2 commented 1 year ago

Fixed