Пример #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'))