aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/google-auth/py3/tests/crypt/test__python_rsa.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/crypt/test__python_rsa.py
parent1f6bef05ed441c3aa2d565ac792b26cded704ac7 (diff)
downloadydb-d67bfb4b4b7549081543e87a31bc6cb5c46ac973.tar.gz
Import libs 4 (#758)
Diffstat (limited to 'contrib/python/google-auth/py3/tests/crypt/test__python_rsa.py')
-rw-r--r--contrib/python/google-auth/py3/tests/crypt/test__python_rsa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/google-auth/py3/tests/crypt/test__python_rsa.py b/contrib/python/google-auth/py3/tests/crypt/test__python_rsa.py
index 592b523d92..75dcb314f7 100644
--- a/contrib/python/google-auth/py3/tests/crypt/test__python_rsa.py
+++ b/contrib/python/google-auth/py3/tests/crypt/test__python_rsa.py
@@ -26,8 +26,8 @@ from google.auth.crypt import _python_rsa
from google.auth.crypt import base
-import yatest.common
-DATA_DIR = os.path.join(yatest.common.test_source_path(), "data")
+import yatest.common as yc
+DATA_DIR = os.path.join(os.path.dirname(yc.source_path(__file__)), "..", "data")
# To generate privatekey.pem, privatekey.pub, and public_cert.pem:
# $ openssl req -new -newkey rsa:1024 -x509 -nodes -out public_cert.pem \