'Test the setup when no password is configured.'

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

    mock.post('https://api.ring.com/clients_api/session', text=load_fixture('ring_session.json'))
    conf = self.config.copy()
    del conf['ring']['password']
    assert (not setup.setup_component(self.hass, ring.DOMAIN, conf))
