'Test error handling of no response when active devices checked.'

def test_update_no_data(self):

    with requests_mock.Mocker() as mock_request:
        mock_request.register_uri('GET', ('http://%s/Status_Wireless.live.asp' % TEST_HOST), [{'text': load_fixture('Ddwrt_Status_Wireless.txt')}, {'text': None}])
        mock_request.register_uri('GET', ('http://%s/Status_Lan.live.asp' % TEST_HOST), text=load_fixture('Ddwrt_Status_Lan.txt'))
        with assert_setup_component(1, DOMAIN):
            assert setup_component(self.hass, DOMAIN, {DOMAIN: {CONF_PLATFORM: 'ddwrt', CONF_HOST: TEST_HOST, CONF_USERNAME: 'fake_user', CONF_PASSWORD: '0'}})
