Enable Ruff PT015 (#86775)
This commit is contained in:
parent
49148421cb
commit
57cf11f067
19 changed files with 43 additions and 36 deletions
|
@ -148,7 +148,7 @@ def mock_process_uploaded_file(tmp_path):
|
|||
keyfile.write(b"## mock key file ##")
|
||||
return tmp_path / "client.key"
|
||||
else:
|
||||
assert False
|
||||
pytest.fail(f"Unexpected file_id: {file_id}")
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.mqtt.config_flow.process_uploaded_file",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue