Skip to content

Commit cc01373

Browse files
Code review
1 parent 5f9d850 commit cc01373

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

ci/wif/test_wif.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ export RUN_WIF_TESTS=true
1313
/opt/python/cp312-cp312/bin/python -m pytest test/wif/ --ignore test/wif/test_wif_async.py
1414

1515
# test WIF with asyncio installed
16-
# /opt/python/cp312-cp312/bin/python -m pip install --break-system-packages -e '.[aio]'
17-
# run all tests to see whether installation does not break anything
18-
# /opt/python/cp312-cp312/bin/python -m pytest test/wif/
16+
/opt/python/cp312-cp312/bin/python -m pip install --break-system-packages -e '.[aio]'
17+
/opt/python/cp312-cp312/bin/python -m pytest test/wif/

src/snowflake/connector/aio/_session_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ class SessionManager(
361361
def __init__(
362362
self,
363363
config: AioHttpConfig | None = None,
364-
max_retries: int | None = None, # TODO: remove this after rebase
365364
**http_config_kwargs,
366365
) -> None:
367366
"""Create a new async SessionManager."""

src/snowflake/connector/session_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ class SessionManager(_RequestVerbsUsingSessionMixin, _ConfigDirectAccessMixin):
387387
def __init__(
388388
self,
389389
config: HttpConfig | None = None,
390-
max_retries: int | None = None, # TODO: remove this after rebase
391390
**http_config_kwargs,
392391
) -> None:
393392
"""

test/wif/test_wif_async.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929

3030
@pytest.mark.wif
31-
@pytest.mark.aio
31+
@pytest.mark.asyncio
3232
async def test_wif_defined_provider_async():
3333
connection_params = {
3434
"host": HOST,
@@ -42,7 +42,7 @@ async def test_wif_defined_provider_async():
4242

4343

4444
@pytest.mark.wif
45-
@pytest.mark.aio
45+
@pytest.mark.asyncio
4646
async def test_should_authenticate_using_oidc_async():
4747
if not is_provider_gcp():
4848
pytest.skip("Skipping test - not running on GCP")
@@ -61,7 +61,7 @@ async def test_should_authenticate_using_oidc_async():
6161

6262

6363
@pytest.mark.wif
64-
@pytest.mark.aio
64+
@pytest.mark.asyncio
6565
async def test_should_authenticate_with_impersonation_async():
6666
if not isinstance(IMPERSONATION_PATH, str) or not IMPERSONATION_PATH:
6767
pytest.skip("Skipping test - IMPERSONATION_PATH is not set")

0 commit comments

Comments
 (0)