We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various tests are failing with aiohttp>=3.9.0, and home-assistant 2023.12.0 pins aiohttp=3.9.1.
aiohttp=3.9.1
An example traceback, they all look the same:
pysmartthings> _____________________ TestSmartThings.test_generate_tokens _____________________ pysmartthings> pysmartthings> smartthings = <pysmartthings.smartthings.SmartThings object at 0x7ffff4f71ab0> pysmartthings> pysmartthings> @staticmethod pysmartthings> @pytest.mark.asyncio pysmartthings> async def test_generate_tokens(smartthings): pysmartthings> """Tests the generate_tokens method.""" pysmartthings> # Act pysmartthings> > token = await smartthings.generate_tokens( pysmartthings> CLIENT_ID, CLIENT_SECRET, REFRESH_TOKEN pysmartthings> ) pysmartthings> pysmartthings> tests/test_smartthings.py:347: pysmartthings> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysmartthings> pysmartthings/smartthings.py:209: in generate_tokens pysmartthings> result = await self._service.generate_tokens( pysmartthings> pysmartthings/api.py:410: in generate_tokens pysmartthings> async with self._session.request( pysmartthings> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysmartthings> pysmartthings> self = <aiohttp.client._RequestContextManager object at 0x7ffff4f72b00> pysmartthings> exc_type = None, exc = None, tb = None pysmartthings> pysmartthings> async def __aexit__( pysmartthings> self, pysmartthings> exc_type: Optional[Type[BaseException]], pysmartthings> exc: Optional[BaseException], pysmartthings> tb: Optional[TracebackType], pysmartthings> ) -> None: pysmartthings> # We're basing behavior on the exception as it can be caused by pysmartthings> # user code unrelated to the status of the connection. If you pysmartthings> # would like to close a connection you must do that pysmartthings> # explicitly. Otherwise connection error handling should kick in pysmartthings> # and close/recycle the connection as required. pysmartthings> self._resp.release() pysmartthings> > await self._resp.wait_for_close() pysmartthings> E AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> pysmartthings> /nix/store/glq1cn6g1sh7c6avqmg0y2bsmxsfg58c-python3.11-aiohttp-3.9.1/lib/python3.11/site-packages/aiohttp/client.py:1206: AttributeError pysmartthings> _____________________ TestSubscriptionEntity.test_refresh ______________________ pysmartthings> pysmartthings> api = <pysmartthings.api.Api object at 0x7ffff52771c0> pysmartthings> pysmartthings> @staticmethod pysmartthings> @pytest.mark.asyncio pysmartthings> async def test_refresh(api): pysmartthings> """Tests the refresh method.""" pysmartthings> # Arrange pysmartthings> app = SubscriptionEntity(api) pysmartthings> app.apply_data( pysmartthings> { pysmartthings> "id": "7bdf5909-57c4-41f3-9089-e520513bd92a", pysmartthings> "installedAppId": INSTALLED_APP_ID, pysmartthings> "sourceType": "UNKNOWN", pysmartthings> } pysmartthings> ) pysmartthings> # Act pysmartthings> > await app.refresh() pysmartthings> pysmartthings> tests/test_subscription.py:133: pysmartthings> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysmartthings> pysmartthings/subscription.py:213: in refresh pysmartthings> data = await self._api.get_subscription( pysmartthings> pysmartthings/api.py:295: in get_subscription pysmartthings> return await self.get( pysmartthings> pysmartthings/api.py:380: in get pysmartthings> return await self.request("get", self._api_base + resource, params) pysmartthings> pysmartthings/api.py:353: in request pysmartthings> async with self._session.request( pysmartthings> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysmartthings> pysmartthings> self = <aiohttp.client._RequestContextManager object at 0x7ffff50c1de0> pysmartthings> exc_type = None, exc = None, tb = None pysmartthings> pysmartthings> async def __aexit__( pysmartthings> self, pysmartthings> exc_type: Optional[Type[BaseException]], pysmartthings> exc: Optional[BaseException], pysmartthings> tb: Optional[TracebackType], pysmartthings> ) -> None: pysmartthings> # We're basing behavior on the exception as it can be caused by pysmartthings> # user code unrelated to the status of the connection. If you pysmartthings> # would like to close a connection you must do that pysmartthings> # explicitly. Otherwise connection error handling should kick in pysmartthings> # and close/recycle the connection as required. pysmartthings> self._resp.release() pysmartthings> > await self._resp.wait_for_close() pysmartthings> E AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> pysmartthings> /nix/store/glq1cn6g1sh7c6avqmg0y2bsmxsfg58c-python3.11-aiohttp-3.9.1/lib/python3.11/site-packages/aiohttp/client.py:1206: AttributeError
This is the full list:
pysmartthings> FAILED tests/test_app.py::TestAppSettingsEntity::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_app.py::TestAppSettingsEntity::test_save - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_app.py::TestAppEntity::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_app.py::TestAppEntity::test_save - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_app.py::TestAppEntity::test_oauth - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_app.py::TestAppEntity::test_settings - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_app.py::TestOAuthEntity::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_app.py::TestOAuthEntity::test_save - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_switch_on - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_switch_on_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_switch_off - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_switch_off_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_lock - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_lock_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_unlock - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_unlock_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_level - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_level_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_fan_speed - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_fan_speed_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_color_temperature - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_color_temperature_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_hue - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_hue_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_saturation - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_saturation_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_color - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_color_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_color_hex - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_color_update_hex - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_thermostat_fan_mode_legacy - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_thermostat_fan_mode - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_thermostat_fan_mode_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_thermostat_mode_legacy - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_thermostat_mode - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_thermostat_mode_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_cooling_setpoint_legacy - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_cooling_setpoint_mode - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_cooling_setpoint_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_heating_setpoint_legacy - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_heating_setpoint_mode - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_heating_setpoint_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_open - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_open_legacy - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_close - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_close_legacy - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_open_window_shade - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_close_window_shade - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_request_drlc_action - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_override_drlc_action - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_execute - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_preset_position - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_air_conditioner_mode - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_fan_mode - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_fan_oscillation_mode - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_air_flow_direction - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_mute - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_mute_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_unmute - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_unmute_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_volume - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_volume_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_volume_up - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_volume_up_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_volume_down - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_volume_down_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_play - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_play_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_pause - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_pause_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_stop - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_stop_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_fast_forward - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_fast_forward_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_rewind - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_rewind_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_input_source - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_input_source_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_playback_shuffle - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_playback_shuffle_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_repeat - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_repeat_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_tv_channel - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_tv_channel_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_channel_up - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_channel_down - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_window_shade_level - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceEntity::test_set_window_shade_level_update - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_device.py::TestDeviceStatus::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_installedapp.py::TestInstalledAppEntity::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_installedapp.py::TestInstalledAppEntity::test_subscriptions - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_location.py::TestLocationEntity::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_location.py::TestLocationEntity::test_rooms - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_oauthtoken.py::TestOAuthToken::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_room.py::TestRoomEntity::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_room.py::TestRoomEntity::test_save - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_scenes.py::TestSceneEntity::test_execute - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_devices - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_devices_with_filter - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_device - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_locations - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_location - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_rooms - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_create_room - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_update_room - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_room - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_delete_room - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_apps - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_app - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_create_app - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_delete_app - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_app_settings - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_update_app_settings - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_app_oauth - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_update_app_oauth - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_generate_app_oauth - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_installed_apps - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_installed_app - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_delete_installed_app - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_subscriptions - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_delete_subscriptions - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_delete_subscription - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_create_subscription - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_scenes - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_scenes_with_location_filter - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_execute_scene - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_smartthings.py::TestSmartThings::test_generate_tokens - AttributeError: 'MockResponse' object has no attribute 'wait_for_close' pysmartthings> FAILED tests/test_subscription.py::TestSubscriptionEntity::test_refresh - AttributeError: 'MockResponse' object has no attribute 'wait_for_close'
The text was updated successfully, but these errors were encountered:
This was because the MockRequest that was used did not implement wait_for_close() but this isn't a problem anymore :)
wait_for_close()
Sorry, something went wrong.
No branches or pull requests
Various tests are failing with aiohttp>=3.9.0, and home-assistant 2023.12.0 pins
aiohttp=3.9.1
.An example traceback, they all look the same:
This is the full list:
The text was updated successfully, but these errors were encountered: