Add typing for IntegrationTestCase.

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

Information

rbintegrations
release-3.x

Reviewers

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 ID
Add typing for IntegrationTestCase.
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.
ae178bfc91448e4492708b60ad695af0c0f7c3aa
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (ac46dbc)