'Test setup with login failure.'

@mock.patch('mficlient.client.MFiClient')
def test_setup_failed_login(self, mock_client):

    from mficlient.client import FailedToLogin
    mock_client.side_effect = FailedToLogin
    self.assertFalse(self.PLATFORM.setup_platform(self.hass, dict(self.GOOD_CONFIG), None))
