Skip to content

Commit 0ca14f5

Browse files
chore: remove connect_string fixture from unit test (GoogleCloudPlatform#260)
1 parent a639bf4 commit 0ca14f5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/unit/test_connector.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@
2626
from typing import Any
2727

2828

29-
def test_connect_timeout(
30-
connect_string: str, async_loop: asyncio.AbstractEventLoop
31-
) -> None:
29+
def test_connect_timeout(async_loop: asyncio.AbstractEventLoop) -> None:
3230
timeout = 10
31+
connect_string = "test-project:test-region:test-instance"
3332

3433
async def timeout_stub(*args: Any, **kwargs: Any) -> None:
3534
try:

0 commit comments

Comments
 (0)