🐜 Bug Report
The test lib/ugants/tests/abc/test_Application.py::TestFromCommandLine::test_help_message may be sensitive to command line wrapping.
Note that we do use theRawDescriptionHelpFormatter, which according to the documentation does not wrap lines:
Passing !RawDescriptionHelpFormatter as formatter_class= indicates that description and epilog are already correctly formatted and should not be line-wrapped
But the expected_help in our test does need to be line wrapped for the test to pass in the rose stem suite.
In particular, when running pytest in an emacs shell, we see a failure because this line is not wrapped in the actual test generated help string:
The name of the mesh contained in the file provided to
'--mesh'.
(To reproduce, in emacs, use:
M-x shell
cd <ugants-checkout>
<activate conda env>
export PYTHONPATH=$PWD/lib:$PYTHONPATH
python -m pytest lib/ugants/tests/abc/test_Application.py::TestFromCommandLine::test_help_message
)
While this is just an emacs issue, this should remain low priority. If we find other circumstances that trigger this issue, it may become a higher priority.
🐜 Bug Report
The test lib/ugants/tests/abc/test_Application.py::TestFromCommandLine::test_help_message may be sensitive to command line wrapping.
Note that we do use the
RawDescriptionHelpFormatter, which according to the documentation does not wrap lines:But the
expected_helpin our test does need to be line wrapped for the test to pass in the rose stem suite.In particular, when running pytest in an emacs shell, we see a failure because this line is not wrapped in the actual test generated help string:
(To reproduce, in emacs, use:
)
While this is just an emacs issue, this should remain low priority. If we find other circumstances that trigger this issue, it may become a higher priority.