'Test state updates when Google Wifi unavailable.'

def test_update_when_unavailable(self):

    self.api.update = Mock('google_wifi.GoogleWifiAPI.update', side_effect=self.update_side_effect())
    for name in self.sensor_dict:
        sensor = self.sensor_dict[name]['sensor']
        sensor.update()
        self.assertEqual(STATE_UNKNOWN, sensor.state)
