def test_get_client(mocked_gateway, gateway_params): get_client(**gateway_params) mocked_gateway.assert_called_once_with(auth=('public', 'secret'))
def test_get_client(mocked_gateway, gateway_config): get_client(**gateway_config.connection_params) mocked_gateway.assert_called_once_with(auth=("public", "secret"))