Add typing for IntegrationTestCase.

Review Request #12832 — Created Feb. 12, 2023 and submitted

chipx86
rbintegrations
release-3.x
rbintegrations

This adds some typing to IntegrationTestCase, using generics to make
sure that the integration instance matches the provided class. That
can help unit tests that need to call methods on a given integration,
allowing them to take advantage of typing.

Unit tests pass on all supported versions of Python.

Made use of this in an upcoming change.

Summary
Add typing for IntegrationTestCase.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (ac46dbc)
Loading...