Remove legacy async_add_job from homekit tests (#33727)

* Remove legacy async_add_job from homekit tests

* Empty commit to rerun CI
This commit is contained in:
J. Nick Koston authored and GitHub committed 2020-04-05 21:33:36 -05:00
1 parent f7b822d000
commit e4ee4cf302
12 files changed
+184 -158

No files matched your search

+2 -2
View File
@@ -199,7 +199,7 @@ async def test_show_setup_msg(hass):
call_create_notification = async_mock_service(hass, DOMAIN, "create")
await hass.async_add_job(show_setup_message, hass, pincode)
await hass.async_add_executor_job(show_setup_message, hass, pincode)
await hass.async_block_till_done()
assert call_create_notification
@@ -211,7 +211,7 @@ async def test_dismiss_setup_msg(hass):
"""Test dismiss setup message."""
call_dismiss_notification = async_mock_service(hass, DOMAIN, "dismiss")
await hass.async_add_job(dismiss_setup_message, hass)
await hass.async_add_executor_job(dismiss_setup_message, hass)
await hass.async_block_till_done()
assert call_dismiss_notification