1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Enable Ruff TRY004 (#86811)

This commit is contained in:
Franck Nijhof
2023-01-30 14:06:52 +01:00
committed by GitHub
parent 7368c86ecb
commit 3b5fd4bd06
19 changed files with 24 additions and 22 deletions

View File

@@ -188,7 +188,7 @@ def test_auth_code_store_requires_credentials(mock_credential):
"""Test we require credentials."""
store, _retrieve = auth._create_auth_code_store()
with pytest.raises(ValueError):
with pytest.raises(TypeError):
store(None, MockUser())
store(None, mock_credential)