File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ class UserParams:
132132 """
133133
134134
135- def _create_web_api_wrapper (
135+ def create_web_api_wrapper (
136136 user_params : UserParams ,
137137 * ,
138138 cache : Cache | None = None ,
@@ -168,7 +168,7 @@ async def create_device_manager(
168168 if cache is None :
169169 cache = NoCache ()
170170
171- web_api = _create_web_api_wrapper (user_params , session = session , cache = cache )
171+ web_api = create_web_api_wrapper (user_params , session = session , cache = cache )
172172 user_data = user_params .user_data
173173
174174 mqtt_params = create_mqtt_params (user_data .rriot )
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ async def test_create_home_data_api_exception() -> None:
9595 with patch ("roborock.devices.device_manager.RoborockApiClient.get_home_data_v3" ) as mock_get_home_data :
9696 mock_get_home_data .side_effect = RoborockException ("Test exception" )
9797 user_params = UserParams (username = "test_user" , user_data = USER_DATA )
98- api = _create_web_api_wrapper (user_params )
98+ api = create_web_api_wrapper (user_params )
9999
100100 with pytest .raises (RoborockException , match = "Test exception" ):
101101 await api .get_home_data ()
You can’t perform that action at this time.
0 commit comments