-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use pybridge to capture stderr for transcript tests #1210
Conversation
…check for non-existent commands, pwarn and perror
Codecov ReportBase: 98.58% // Head: 98.58% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1210 +/- ##
=======================================
Coverage 98.58% 98.58%
=======================================
Files 22 22
Lines 5705 5707 +2
=======================================
+ Hits 5624 5626 +2
Misses 81 81
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@crotwell Phillip, thanks for the PR! Can you please run @anselor @kmvanbrunt You guys are more familiar with the pybridge stuff than I am, could one of you please review this PR and make sure it won't break any existing known workflows? |
@crotwell Formatting is still broken due to isort. I added a new invoke task you can run with |
@kmvanbrunt @anselor Now that all tests are passing, could one or both of you please review this PR? IMO I don't like that it is only a partial solution. On the other hand, perhaps that is better than no solution? |
@crotwell Thank you very much for this PR. We appreciate your contribution. My understanding is that this solution is incomplete and likely not the best long-term approach. This PR has existed for almost a year and I am going to close it now. If someone would like to work on a more complete and appropriate solution in the future, that would be great. |
use pybridge to capture stderr when running transcripts as tests. Think this addresses at least part of #1185, as stderr is part of the comparison. But this does not address outputing stderr when creating a transcript using history -t.
Possible that simple concatenation is not the right way to create the result for comparison, but at least any self.stderr output will be noticed by the test.