We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7218aaf + 3bd1a9d commit 89a10d4Copy full SHA for 89a10d4
.gitignore
@@ -57,3 +57,5 @@ docs/_build/
57
# The test configuration file(s) could potentially contain credentials
58
tests/config.json
59
60
+
61
+.env
requirements.txt
@@ -1 +1,2 @@
1
.
2
+python-dotenv
tests/test_e2e.py
@@ -1,3 +1,16 @@
+"""If the following ENV VAR are available, many end-to-end test cases would run.
+LAB_APP_CLIENT_SECRET=...
3
+LAB_OBO_CLIENT_SECRET=...
4
+LAB_APP_CLIENT_ID=...
5
+LAB_OBO_PUBLIC_CLIENT_ID=...
6
+LAB_OBO_CONFIDENTIAL_CLIENT_ID=...
7
+"""
8
+try:
9
+ from dotenv import load_dotenv # Use this only in local dev machine
10
+ load_dotenv() # take environment variables from .env.
11
+except:
12
+ pass
13
14
import logging
15
import os
16
import json
0 commit comments