'Create a Ddwrt scanner with no response in init, should fail.'

@mock.patch('homeassistant.components.device_tracker._LOGGER.error')
@mock.patch('homeassistant.components.device_tracker.ddwrt.DdWrtDeviceScanner.get_ddwrt_data', return_value=None)
def test_no_response(self, data_mock, error_mock):

    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'}})
        self.assertTrue(('Error    setting    up    platform' in str(error_mock.call_args_list[(-1)])))
