| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
- Add test case for directory traversal - Add test cases for invalid CLI option combinations.
|
With this PR, we're up in 88% coverage. |
Sorry, something went wrong.
| self.assertIn(msg, out) | ||
|
|
||
| def test_cli_fail_filename_or_output_and_make(self): | ||
| for opts in ("-o", "out.c"), ("filename.c",): |
There was a problem hiding this comment.
Style nit:
| for opts in ("-o", "out.c"), ("filename.c",): | |
| for opts in [("-o", "out.c"), ("filename.c",)]: |
For me, this is much more readable.
Sorry, something went wrong.
|
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
|
Sorry, @erlend-aasland, I could not cleanly backport this to 3.11 due to a conflict. |
Sorry, something went wrong.
|
GH-107282 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
|
Thanks for the review! |
Sorry, something went wrong.
|
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
Sorry @erlend-aasland, I had trouble checking out the 3.11 backport branch. |
Sorry, something went wrong.
|
GH-107326 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
…ython#107277) (cherry picked from commit 579100f)
| Back | FazBrowse Home | New Git URL |
Add test case for directory traversal
Add test cases for invalid CLI option combinations.