'Test setup with full configuration.'

@requests_mock.Mocker()
def test_setup_get(self, mock_req):

    resource = '{}{}{}'.format('http://', 'localhost', google_wifi.ENDPOINT)
    mock_req.get(resource, status_code=200)
    self.assertTrue(setup_component(self.hass, 'sensor', {'sensor': {'platform': 'google_wifi', 'host': 'localhost', 'name': 'Test    Wifi', 'monitored_conditions': ['current_version', 'new_version', 'uptime', 'last_restart', 'local_ip', 'status']}}))
    assert_setup_component(6, 'sensor')
