aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/google-auth/py3/tests/oauth2/test_gdch_credentials.py
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2023-12-27 23:31:58 +0100
committerGitHub <noreply@github.com>2023-12-27 23:31:58 +0100
commitd67bfb4b4b7549081543e87a31bc6cb5c46ac973 (patch)
tree8674f2f1570877cb653e7ddcff37ba00288de15a /contrib/python/google-auth/py3/tests/oauth2/test_gdch_credentials.py
parent1f6bef05ed441c3aa2d565ac792b26cded704ac7 (diff)
downloadydb-d67bfb4b4b7549081543e87a31bc6cb5c46ac973.tar.gz
Import libs 4 (#758)
Diffstat (limited to 'contrib/python/google-auth/py3/tests/oauth2/test_gdch_credentials.py')
-rw-r--r--contrib/python/google-auth/py3/tests/oauth2/test_gdch_credentials.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/google-auth/py3/tests/oauth2/test_gdch_credentials.py b/contrib/python/google-auth/py3/tests/oauth2/test_gdch_credentials.py
index 1ff61d8683..9a67a07345 100644
--- a/contrib/python/google-auth/py3/tests/oauth2/test_gdch_credentials.py
+++ b/contrib/python/google-auth/py3/tests/oauth2/test_gdch_credentials.py
@@ -27,7 +27,7 @@ import google.auth.transport.requests
from google.oauth2 import gdch_credentials
from google.oauth2.gdch_credentials import ServiceAccountCredentials
-import yatest.common
+import yatest.common as yc
class TestServiceAccountCredentials(object):
@@ -39,7 +39,7 @@ class TestServiceAccountCredentials(object):
TOKEN_URI = "https://service-identity.<Domain>/authenticate"
JSON_PATH = os.path.join(
- yatest.common.test_source_path(), "data", "gdch_service_account.json"
+ os.path.dirname(yc.source_path(__file__)), "..", "data", "gdch_service_account.json"
)
with open(JSON_PATH, "rb") as fh:
INFO = json.load(fh)