Skip to content

Commit 4e07647

Browse files
committed
Fix tests
1 parent a8e7f47 commit 4e07647

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

tests/test_datasets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from test.support import EnvironmentVarGuard
77
from urllib.parse import urlparse
88

9-
from kaggle_secrets import (_KAGGLE_URL_BASE_ENV_VAR_NAME,
9+
from kaggle_web_client import (KaggleWebClient,
10+
_KAGGLE_URL_BASE_ENV_VAR_NAME,
1011
_KAGGLE_USER_SECRETS_TOKEN_ENV_VAR_NAME,
1112
CredentialError, BackendError, ValidationError)
12-
from kaggle_web_client import KaggleWebClient
1313
from kaggle_datasets import KaggleDatasets, _KAGGLE_TPU_NAME_ENV_VAR_NAME
1414

1515
_TEST_JWT = 'test-secrets-key'

tests/test_user_secrets.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010

1111
from google.auth.exceptions import DefaultCredentialsError
1212
from google.cloud import bigquery
13-
from kaggle_secrets import (_KAGGLE_URL_BASE_ENV_VAR_NAME,
13+
from kaggle_secrets import (GcpTarget, UserSecretsClient,
14+
NotFoundError)
15+
from kaggle_web_client import (_KAGGLE_URL_BASE_ENV_VAR_NAME,
1416
_KAGGLE_USER_SECRETS_TOKEN_ENV_VAR_NAME,
15-
CredentialError, GcpTarget, UserSecretsClient,
16-
BackendError, NotFoundError, ValidationError)
17+
CredentialError, BackendError, ValidationError)
1718

1819
_TEST_JWT = 'test-secrets-key'
1920

0 commit comments

Comments
 (0)