Update SCMClient unit tests to check against run_process_exec().

Review Request #12580 — Created Sept. 5, 2022 and submitted — Latest diff uploaded

Information

RBTools
release-4.x

Reviewers

We're working to move away from execute() to run_process(), and as
part of that we've made execute() a wrapper around run_process().

To help with the porting effort, all SCMClient unit tests have been
updated to test against run_process_exec() (the hook point for
testing) instead of execute().

Unit tests pass.

Diff Revision 3 (Latest)

orig
1
2
3

Commits

First Last Summary ID Author
Update SCMClient unit tests to check against run_process_exec().
We're working to move away from `execute()` to `run_process()`, and as part of that we've made `execute()` a wrapper around `run_process()`. To help with the porting effort, all SCMClient unit tests have been updated to test against `run_process_exec()` (the hook point for testing) instead of `execute()`.
fee770ba34105a3c1b40f33e6276c4aa5d46e9be Christian Hammond
rbtools/clients/tests/test_clearcase.py
rbtools/clients/tests/test_git.py
rbtools/clients/tests/test_mercurial.py
rbtools/clients/tests/test_sos.py
rbtools/clients/tests/test_svn.py
Loading...