Add TestCase helpers for creating a RBClient and getting a transport.

Review Request #12261 — Created April 26, 2022 and submitted — Latest diff uploaded

Information

RBTools
release-3.x

Reviewers

This introduces TestCase.create_rbclient(), which sets up and returns
a RBClient instance with a URLMapTransport. It also introduces
get_rbclient_transport(), which returns the private transport
attribute from the client (to keep test code from having to access that
internal, which we may later decide to change).

Used this in some in-progress unit tests. All tests passed.

Commits

Files