def test__get_client(self, mock_client): driver_info = seamicro._parse_driver_info(self.node) args = {'username': driver_info['username'], 'password': driver_info['password'], 'auth_url': driver_info['api_endpoint']} seamicro._get_client(**driver_info) mock_client.assert_called_once_with(driver_info['api_version'], **args)
def test__get_client(self, mock_client): args = { 'username': self.info['username'], 'password': self.info['password'], 'auth_url': self.info['api_endpoint'] } seamicro._get_client(**self.info) mock_client.assert_called_once_with(self.info['api_version'], **args)
def test__get_client(self, mock_client): driver_info = seamicro._parse_driver_info(self.node) args = { 'username': driver_info['username'], 'password': driver_info['password'], 'auth_url': driver_info['api_endpoint'] } seamicro._get_client(**driver_info) mock_client.assert_called_once_with(driver_info['api_version'], **args)
def test__get_client(self, mock_client): args = {'username': self.info['username'], 'password': self.info['password'], 'auth_url': self.info['api_endpoint']} seamicro._get_client(**self.info) mock_client.assert_called_once_with(self.info['api_version'], **args)