Add type hints to requests_mock (#87757)

This commit is contained in:
epenet 2023-02-10 11:44:09 +01:00 committed by GitHub
parent fac746c974
commit 22bfb99db4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 8 deletions

View file

@ -112,6 +112,7 @@ _TEST_FIXTURES: dict[str, list[str] | str] = {
"mqtt_mock_entry_with_yaml_config": "MqttMockHAClientGenerator",
"recorder_db_url": "str",
"recorder_mock": "Recorder",
"requests_mock": "requests_mock.Mocker",
}
_TEST_FUNCTION_MATCH = TypeHintMatch(
function_name="test_*",