Skip to content
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

[fdkutils] Improvements & coverage #946

Merged
merged 2 commits into from
Aug 30, 2019
Merged

[fdkutils] Improvements & coverage #946

merged 2 commits into from
Aug 30, 2019

Conversation

miguelsousa
Copy link
Member

No description provided.

* adds the ability to toggle the shell in runShellCmd and runShellCmdLogging
* adds a timeout option to runShellCmd
* checks the return code in run_shell_command_logging, runShellCmd and runShellCmdLogging (because they use Popen)
@miguelsousa
Copy link
Member Author

The Codacy failures are expected. The main goal of these changes is to strengthen fdkutils.py and raise its coverage, to enable the removal of shell=True with more confidence at some point in the future.

@miguelsousa miguelsousa merged commit ef6feaa into develop Aug 30, 2019
@miguelsousa miguelsousa deleted the fdkutils-cov branch August 30, 2019 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants