Revert "Cast automatically drop connection (#12635)" (#13094)

This reverts commit e14893416f.
This commit is contained in:
Otto Winter authored and Paulus Schoutsen committed 2018-03-11 12:52:00 -07:00
1 parent 8e51c12010
commit a34786fb2d
2 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ def test_internal_discovery_callback_only_generates_once(hass):
return_value=chromecast) as gen_chromecast:
discover_cast('the-service', chromecast)
mdns = (chromecast.host, chromecast.port, chromecast.uuid, None, None)
gen_chromecast.assert_called_once_with(mdns, blocking=True, tries=10)
gen_chromecast.assert_called_once_with(mdns, blocking=True)
discover_cast('the-service', chromecast)
gen_chromecast.reset_mock()