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

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

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.

Summary ID
Add TestCase helpers for creating a RBClient and getting a transport.
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).
302d6f5f56f92f3345a3c03eae96d24ffc8a32e8
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (3e810ce)