'Test setup with minimum configuration.'

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

    resource = '{}{}{}'.format('http://', google_wifi.DEFAULT_HOST, google_wifi.ENDPOINT)
    mock_req.get(resource, status_code=200)
    self.assertTrue(setup_component(self.hass, 'sensor', {'sensor': {'platform': 'google_wifi', 'monitored_conditions': ['uptime']}}))
    assert_setup_component(1, 'sensor')
