@@ -92,20 +92,20 @@ def set_request_context(request: pytest.FixtureRequest):
9292 REQUEST_CONTEXT .set (request )
9393
9494
95- @pytest .fixture ()
95+ @pytest .fixture
9696def connection ():
9797 """Mock fixture for connection."""
9898 return MagicMock ()
9999
100100
101- @pytest .fixture ()
101+ @pytest .fixture
102102def hass_storage ():
103103 """Fixture to mock storage."""
104104 with mock_storage () as stored_data :
105105 yield stored_data
106106
107107
108- @pytest .fixture ()
108+ @pytest .fixture
109109async def hass (time_freezer , event_loop , tmpdir , check_report_issue : None ):
110110 """Fixture to provide a test instance of Home Assistant."""
111111
@@ -166,54 +166,54 @@ def exc_handle(loop, context):
166166 shutil .rmtree (hass .config .config_dir )
167167
168168
169- @pytest .fixture ()
169+ @pytest .fixture
170170def hacs (hass : HomeAssistant , setup_integration : None ) -> HacsBase :
171171 """Fixture to provide a HACS object."""
172172 return get_hacs (hass )
173173
174174
175- @pytest .fixture ()
175+ @pytest .fixture
176176def repository (hacs ):
177177 """Fixtrue for HACS repository object"""
178178 return dummy_repository_base (hacs )
179179
180180
181- @pytest .fixture ()
181+ @pytest .fixture
182182def repository_integration (hacs ):
183183 """Fixtrue for HACS integration repository object"""
184184 repository_obj = HacsIntegrationRepository (hacs , "test/test" )
185185 return dummy_repository_base (hacs , repository_obj )
186186
187187
188- @pytest .fixture ()
188+ @pytest .fixture
189189def repository_theme (hacs ):
190190 """Fixtrue for HACS theme repository object"""
191191 repository_obj = HacsThemeRepository (hacs , "test/test" )
192192 return dummy_repository_base (hacs , repository_obj )
193193
194194
195- @pytest .fixture ()
195+ @pytest .fixture
196196def repository_plugin (hacs ):
197197 """Fixtrue for HACS plugin repository object"""
198198 repository_obj = HacsPluginRepository (hacs , "test/test" )
199199 return dummy_repository_base (hacs , repository_obj )
200200
201201
202- @pytest .fixture ()
202+ @pytest .fixture
203203def repository_python_script (hacs ):
204204 """Fixtrue for HACS python_script repository object"""
205205 repository_obj = HacsPythonScriptRepository (hacs , "test/test" )
206206 return dummy_repository_base (hacs , repository_obj )
207207
208208
209- @pytest .fixture ()
209+ @pytest .fixture
210210def repository_template (hacs ):
211211 """Fixtrue for HACS template repository object"""
212212 repository_obj = HacsTemplateRepository (hacs , "test/test" )
213213 return dummy_repository_base (hacs , repository_obj )
214214
215215
216- @pytest .fixture ()
216+ @pytest .fixture
217217def repository_appdaemon (hacs ):
218218 """Fixtrue for HACS appdaemon repository object"""
219219 repository_obj = HacsAppdaemonRepository (hacs , "test/test" )
@@ -230,7 +230,7 @@ async def assert_hacs_data(
230230 pass
231231
232232
233- @pytest .fixture ()
233+ @pytest .fixture
234234def snapshots (snapshot : Snapshot ) -> SnapshotFixture :
235235 """Fixture for a snapshot."""
236236 snapshot .snapshot_dir = "tests/snapshots"
@@ -345,7 +345,7 @@ async def ws_client(hass: HomeAssistant) -> WSClient:
345345 return WSClient (hass , hass .auth .async_create_access_token (refresh_token ))
346346
347347
348- @pytest .fixture ()
348+ @pytest .fixture
349349def response_mocker () -> ResponseMocker :
350350 """Mock fixture for responses."""
351351 mocker = ResponseMocker ()
0 commit comments