Fix aprs tests

pull/63825/head
epenet 2022-01-10 15:12:24 +00:00
parent 3e8b295484
commit 854b37aee8
1 changed files with 2 additions and 2 deletions

View File

@ -312,14 +312,14 @@ def test_setup_scanner():
"password": TEST_PASSWORD,
"host": TEST_HOST,
"callsigns": ["XX0FOO*", "YY0BAR-1"],
"timeout": device_tracker.DEFAULT_TIMEOUT,
}
see = Mock()
res = device_tracker.setup_scanner(hass, config, see)
device_tracker.setup_scanner(hass, config, see)
hass.bus.fire(EVENT_HOMEASSISTANT_START)
hass.stop()
assert res
listener.assert_called_with(
TEST_CALLSIGN, TEST_PASSWORD, TEST_HOST, "b/XX0FOO* b/YY0BAR-1", see
)