Skip to content

Commit

Permalink
Tests: bypass setup for options_flow test
Browse files Browse the repository at this point in the history
After recent HA changes, this test hangs.  Bypass the calls to HA function
that is hanging, to avoid the problem.
  • Loading branch information
make-all committed Jun 2, 2024
1 parent dba5369 commit a5f9b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ async def test_options_flow_init(hass):

@pytest.mark.asyncio
@patch("custom_components.tuya_local.config_flow.async_test_connection")
async def test_options_flow_modifies_config(mock_test, hass):
async def test_options_flow_modifies_config(mock_test, hass, bypass_setup):
mock_device = MagicMock()
mock_test.return_value = mock_device

Expand Down

0 comments on commit a5f9b28

Please sign in to comment.