예제 #1
0
def test_get_client(mocked_gateway, gateway_params):
    get_client(**gateway_params)
    mocked_gateway.assert_called_once_with(auth=('public', 'secret'))
예제 #2
0
def test_get_client(mocked_gateway, gateway_config):
    get_client(**gateway_config.connection_params)
    mocked_gateway.assert_called_once_with(auth=("public", "secret"))
예제 #3
0
def test_get_client(mocked_gateway, gateway_config):
    get_client(**gateway_config.connection_params)
    mocked_gateway.assert_called_once_with(auth=("public", "secret"))
예제 #4
0
def test_get_client(mocked_gateway, gateway_params):
    get_client(**gateway_params)
    mocked_gateway.assert_called_once_with(auth=('public', 'secret'))