Add typing for IntegrationTestCase.
Review Request #12832 — Created Feb. 12, 2023 and submitted — Latest diff uploaded
This adds some typing to
IntegrationTestCase
, using generics to make
sure that theintegration
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.