Allow SCMClient unit tests to set server capabilities.

Review Request #12634 — Created Sept. 24, 2022 and submitted

Information

RBTools
release-4.x

Reviewers

build_client() can now take default capabilities for the test,
explicitly through a new caps= argument or through a
default_scmclient_caps on the test suite.

This simplifies tests that are sensitive to server capabilities, and
helps entire suites opt into modern behavior by default.

Made use of this in upcoming tests.

Perforce unit tests pass.

Summary ID
Allow SCMClient unit tests to set server capabilities.
`build_client()` can now take default capabilities for the test, explicitly through a new `caps=` argument or through a `default_scmclient_caps` on the test suite. This simplifies tests that are sensitive to server capabilities, and helps entire suites opt into modern behavior by default.
81b90a741c77fcc0190266cb6d9e0e2288fec73f
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.x (8718b53)
Loading...