'Test the setup if a bad username or password is given.'

@requests_mock.Mocker()
def test_setup_login_failed(self, mock):

    mock.put('https://api.sleepiq.sleepnumber.com/rest/login', status_code=401, json=load_fixture('sleepiq-login-failed.json'))
    response = sleepiq.setup(self.hass, self.config)
    self.assertFalse(response)
