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

Add return type to tests without arguments (#87613)

* Add return type to tests without arguments

* Black

* Cancel fixture amends
This commit is contained in:
epenet
2023-02-07 14:20:06 +01:00
committed by GitHub
parent fb4c0b4b7a
commit 4142f0d15d
99 changed files with 473 additions and 459 deletions

View File

@@ -99,7 +99,7 @@ class MockStorageCollection(collection.StorageCollection):
return {**data, **update_data}
def test_id_manager():
def test_id_manager() -> None:
"""Test the ID manager."""
id_manager = collection.IDManager()
assert not id_manager.has_id("some_id")