Test output @pytest.mark.asyncio
async def test_list_channels_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channels), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
channel.Channel(),
],
next_page_token="abc",
),
eventarc.ListChannelsResponse(
channels=[],
next_page_token="def",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
],
next_page_token="ghi",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
],
),
RuntimeError,
)
async_pager = await client.list_channels(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, channel.Channel) for i in responses)
E assert False
E + where False = all(<generator object test_list_channels_async_pager.. at 0x7fac1b4b5cf0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:2642: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_providers_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_providers), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
discovery.Provider(),
],
next_page_token="abc",
),
eventarc.ListProvidersResponse(
providers=[],
next_page_token="def",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
],
next_page_token="ghi",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_providers(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, discovery.Provider) for i in results)
E assert False
E + where False = all(<generator object test_list_providers_pager.. at 0x7f49967f0d60>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:3915: AssertionError
The following release PRs may have failed:
#160 - The release job was triggered, but has not reported back success.
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_providers_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_providers), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
discovery.Provider(),
],
next_page_token="abc",
),
eventarc.ListProvidersResponse(
providers=[],
next_page_token="def",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
],
next_page_token="ghi",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
],
),
RuntimeError,
)
async_pager = await client.list_providers(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, discovery.Provider) for i in responses)
E assert False
E + where False = all(<generator object test_list_providers_async_pager.. at 0x7fac1a9b7e40>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4006: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_triggers_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_triggers), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
trigger.Trigger(),
],
next_page_token="abc",
),
eventarc.ListTriggersResponse(
triggers=[],
next_page_token="def",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
],
next_page_token="ghi",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
],
),
RuntimeError,
)
async_pager = await client.list_triggers(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, trigger.Trigger) for i in responses)
E assert False
E + where False = all(<generator object test_list_triggers_async_pager.. at 0x7f499687bc10>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:1245: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_triggers_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_triggers), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
trigger.Trigger(),
],
next_page_token="abc",
),
eventarc.ListTriggersResponse(
triggers=[],
next_page_token="def",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
],
next_page_token="ghi",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
],
),
RuntimeError,
)
async_pager = await client.list_triggers(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, trigger.Trigger) for i in responses)
E assert False
E + where False = all(<generator object test_list_triggers_async_pager.. at 0x7fac1a9b7f20>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:1245: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_channel_connections_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channel_connections),
"__call__",
new_callable=mock.AsyncMock,
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
next_page_token="abc",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[],
next_page_token="def",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
],
next_page_token="ghi",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
),
RuntimeError,
)
async_pager = await client.list_channel_connections(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
isinstance(i, channel_connection.ChannelConnection) for i in responses
)
E assert False
E + where False = all(<generator object test_list_channel_connections_async_pager.. at 0x7fac1af173c0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4708: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_providers_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_providers), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
discovery.Provider(),
],
next_page_token="abc",
),
eventarc.ListProvidersResponse(
providers=[],
next_page_token="def",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
],
next_page_token="ghi",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_providers(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, discovery.Provider) for i in results)
E assert False
E + where False = all(<generator object test_list_providers_pager.. at 0x7f2ba861e730>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:3915: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_providers_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_providers), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
discovery.Provider(),
],
next_page_token="abc",
),
eventarc.ListProvidersResponse(
providers=[],
next_page_token="def",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
],
next_page_token="ghi",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_providers(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, discovery.Provider) for i in results)
E assert False
E + where False = all(<generator object test_list_providers_pager.. at 0x7f61807faed0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:3915: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_channel_connections_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channel_connections),
"__call__",
new_callable=mock.AsyncMock,
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
next_page_token="abc",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[],
next_page_token="def",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
],
next_page_token="ghi",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
),
RuntimeError,
)
async_pager = await client.list_channel_connections(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
isinstance(i, channel_connection.ChannelConnection) for i in responses
)
E assert False
E + where False = all(<generator object test_list_channel_connections_async_pager.. at 0x7f499687bdd0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4708: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_channels_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channels), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
channel.Channel(),
],
next_page_token="abc",
),
eventarc.ListChannelsResponse(
channels=[],
next_page_token="def",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
],
next_page_token="ghi",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
],
),
RuntimeError,
)
async_pager = await client.list_channels(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, channel.Channel) for i in responses)
E assert False
E + where False = all(<generator object test_list_channels_async_pager.. at 0x7f2babd7b290>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:2642: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_providers_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_providers), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
discovery.Provider(),
],
next_page_token="abc",
),
eventarc.ListProvidersResponse(
providers=[],
next_page_token="def",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
],
next_page_token="ghi",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
],
),
RuntimeError,
)
async_pager = await client.list_providers(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, discovery.Provider) for i in responses)
E assert False
E + where False = all(<generator object test_list_providers_async_pager.. at 0x7f49962b9f90>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4006: AssertionError
The following release PRs may have failed:
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_channels_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_channels), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
channel.Channel(),
],
next_page_token="abc",
),
eventarc.ListChannelsResponse(
channels=[],
next_page_token="def",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
],
next_page_token="ghi",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_channels(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, channel.Channel) for i in results)
E assert False
E + where False = all(<generator object test_list_channels_pager.. at 0x7f61807fad50>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:2551: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_triggers_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_triggers), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
trigger.Trigger(),
],
next_page_token="abc",
),
eventarc.ListTriggersResponse(
triggers=[],
next_page_token="def",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
],
next_page_token="ghi",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
],
),
RuntimeError,
)
async_pager = await client.list_triggers(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, trigger.Trigger) for i in responses)
E assert False
E + where False = all(<generator object test_list_triggers_async_pager.. at 0x7f61806c16d0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:1245: AssertionError
The following release PRs may have failed:
#195 - The release job was triggered, but has not reported back success.
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_providers_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_providers), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
discovery.Provider(),
],
next_page_token="abc",
),
eventarc.ListProvidersResponse(
providers=[],
next_page_token="def",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
],
next_page_token="ghi",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
],
),
RuntimeError,
)
async_pager = await client.list_providers(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, discovery.Provider) for i in responses)
E assert False
E + where False = all(<generator object test_list_providers_async_pager.. at 0x7f61806c17d0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4006: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_providers_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_providers), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
discovery.Provider(),
],
next_page_token="abc",
),
eventarc.ListProvidersResponse(
providers=[],
next_page_token="def",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
],
next_page_token="ghi",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
],
),
RuntimeError,
)
async_pager = await client.list_providers(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, discovery.Provider) for i in responses)
E assert False
E + where False = all(<generator object test_list_providers_async_pager.. at 0x7f2ba83f90e0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4006: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_channels_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channels), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
channel.Channel(),
],
next_page_token="abc",
),
eventarc.ListChannelsResponse(
channels=[],
next_page_token="def",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
],
next_page_token="ghi",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
],
),
RuntimeError,
)
async_pager = await client.list_channels(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, channel.Channel) for i in responses)
E assert False
E + where False = all(<generator object test_list_channels_async_pager.. at 0x7f61802c2050>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:2642: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_channels_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_channels), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
channel.Channel(),
],
next_page_token="abc",
),
eventarc.ListChannelsResponse(
channels=[],
next_page_token="def",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
],
next_page_token="ghi",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_channels(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, channel.Channel) for i in results)
E assert False
E + where False = all(<generator object test_list_channels_pager.. at 0x7fac0b66a510>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:2551: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_triggers_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_triggers), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
trigger.Trigger(),
],
next_page_token="abc",
),
eventarc.ListTriggersResponse(
triggers=[],
next_page_token="def",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
],
next_page_token="ghi",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
],
),
RuntimeError,
)
async_pager = await client.list_triggers(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, trigger.Trigger) for i in responses)
E assert False
E + where False = all(<generator object test_list_triggers_async_pager.. at 0x7f2ba861e260>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:1245: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_providers_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_providers), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
discovery.Provider(),
],
next_page_token="abc",
),
eventarc.ListProvidersResponse(
providers=[],
next_page_token="def",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
],
next_page_token="ghi",
),
eventarc.ListProvidersResponse(
providers=[
discovery.Provider(),
discovery.Provider(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_providers(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, discovery.Provider) for i in results)
E assert False
E + where False = all(<generator object test_list_providers_pager.. at 0x7fac0b5ae6d0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:3915: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_triggers_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_triggers), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
trigger.Trigger(),
],
next_page_token="abc",
),
eventarc.ListTriggersResponse(
triggers=[],
next_page_token="def",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
],
next_page_token="ghi",
),
eventarc.ListTriggersResponse(
triggers=[
trigger.Trigger(),
trigger.Trigger(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_triggers(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, trigger.Trigger) for i in results)
E assert False
E + where False = all(<generator object test_list_triggers_pager.. at 0x7fac1ac7dba0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:1154: AssertionError
This issue provides visibility into Renovate updates and their statuses. Learn more
This repository currently has no open or pending branches.
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_channel_connections_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channel_connections), "__call__"
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
next_page_token="abc",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[],
next_page_token="def",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
],
next_page_token="ghi",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_channel_connections(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, channel_connection.ChannelConnection) for i in results)
E assert False
E + where False = all(<generator object test_list_channel_connections_pager.. at 0x7fac0b5aed60>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4613: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_channel_connections_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channel_connections), "__call__"
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
next_page_token="abc",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[],
next_page_token="def",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
],
next_page_token="ghi",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_channel_connections(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, channel_connection.ChannelConnection) for i in results)
E assert False
E + where False = all(<generator object test_list_channel_connections_pager.. at 0x7f49967f00b0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4613: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_channels_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_channels), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
channel.Channel(),
],
next_page_token="abc",
),
eventarc.ListChannelsResponse(
channels=[],
next_page_token="def",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
],
next_page_token="ghi",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_channels(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, channel.Channel) for i in results)
E assert False
E + where False = all(<generator object test_list_channels_pager.. at 0x7f499687edd0>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:2551: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_channel_connections_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channel_connections),
"__call__",
new_callable=mock.AsyncMock,
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
next_page_token="abc",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[],
next_page_token="def",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
],
next_page_token="ghi",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
),
RuntimeError,
)
async_pager = await client.list_channel_connections(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
isinstance(i, channel_connection.ChannelConnection) for i in responses
)
E assert False
E + where False = all(<generator object test_list_channel_connections_async_pager.. at 0x7f2ba83fb450>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4708: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_channels_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_channels), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
channel.Channel(),
],
next_page_token="abc",
),
eventarc.ListChannelsResponse(
channels=[],
next_page_token="def",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
],
next_page_token="ghi",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_channels(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, channel.Channel) for i in results)
E assert False
E + where False = all(<generator object test_list_channels_pager.. at 0x7f2ba861d380>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:2551: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_channel_connections_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channel_connections),
"__call__",
new_callable=mock.AsyncMock,
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
next_page_token="abc",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[],
next_page_token="def",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
],
next_page_token="ghi",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
),
RuntimeError,
)
async_pager = await client.list_channel_connections(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
isinstance(i, channel_connection.ChannelConnection) for i in responses
)
E assert False
E + where False = all(<generator object test_list_channel_connections_async_pager.. at 0x7f61806c1b50>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4708: AssertionError
The following release PRs may have failed:
#160 - The release job was triggered, but has not reported back success.
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_channels_async_pager():
client = EventarcAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channels), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
channel.Channel(),
],
next_page_token="abc",
),
eventarc.ListChannelsResponse(
channels=[],
next_page_token="def",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
],
next_page_token="ghi",
),
eventarc.ListChannelsResponse(
channels=[
channel.Channel(),
channel.Channel(),
],
),
RuntimeError,
)
async_pager = await client.list_channels(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, channel.Channel) for i in responses)
E assert False
E + where False = all(<generator object test_list_channels_async_pager.. at 0x7f4999865740>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:2642: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_channel_connections_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channel_connections), "__call__"
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
next_page_token="abc",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[],
next_page_token="def",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
],
next_page_token="ghi",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_channel_connections(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, channel_connection.ChannelConnection) for i in results)
E assert False
E + where False = all(<generator object test_list_channel_connections_pager.. at 0x7f61802c2e50>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4613: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: ecbea90
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_channel_connections_pager(transport_name: str = "grpc"):
client = EventarcClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_channel_connections), "__call__"
) as call:
# Set the response to a series of pages.
call.side_effect = (
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
next_page_token="abc",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[],
next_page_token="def",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
],
next_page_token="ghi",
),
eventarc.ListChannelConnectionsResponse(
channel_connections=[
channel_connection.ChannelConnection(),
channel_connection.ChannelConnection(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_channel_connections(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, channel_connection.ChannelConnection) for i in results)
E assert False
E + where False = all(<generator object test_list_channel_connections_pager.. at 0x7f2ba83fa730>)
tests/unit/gapic/eventarc_v1/test_eventarc.py:4613: AssertionError
Recommend Projects
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
Recommend Topics
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
Recommend Org
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.
Copyright ยฉ 2024 Giter Site โค๏ธ Mail to me