Skip to content

Commit 43f666e

Browse files
committed
add comments for doctest config
1 parent 75be9d0 commit 43f666e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
LOCAL_TESTING_MODE = False
2222

2323
sys.path.append("tests/")
24+
# get the absolute path of rsa private key files
2425
params_file = os.path.abspath("tests/parameters.py")
2526
with open("tests/parameters.py", encoding="utf-8") as f:
27+
# inject rsa private key file path so that the connection parameters can access rsa private key file correctly
2628
exec_globals = {"__file__": params_file}
2729
exec(f.read(), exec_globals)
2830
conn_params = exec_globals["CONNECTION_PARAMETERS"]

0 commit comments

Comments
 (0)