Update rbtools.clients.tests.test_scanning to not use execute().
Review Request #14481 — Created June 27, 2025 and submitted
The
execute()
method has been deprecated for a while, but we didn't
actually do anything about that since the warning was hidden behind an
environment variable.This change updates the
rbtools.clients.tests.test_scanning
module to
userun_process()
instead, and tweaks our BaseSCMClientTestCase
definition to allow us to define test cases that use[None]
as the
client (since this test case needs some of the machinery from that but
doesn't instantiate a specific client class).
Ran unit tests.
Summary | ID |
---|---|
9260de05adb25a0001c559ba5787725f83b372a8 |
Description | From | Last Updated |
---|---|---|
Meant to say: I don't actually see any code in here but typing changes. Nothing involving run_process() or execute(). |
|
|
This needs to be Optional[...], since this is going to be executed at runtime. Only 3.10+ supports this. |
|
|
But then this could be | None. |
|