Skip to content

Commit c7662df

Browse files
committed
SDK-826: Update tests to use verify SSL from environment variable
1 parent dd40326 commit c7662df

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

yoti_python_sdk/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,13 @@
2121
with open(ver_path) as ver_file:
2222
exec(ver_file.read(), main_ns)
2323

24-
<<<<<<< HEAD
2524
__version__ = main_ns["__version__"]
2625
YOTI_API_URL = environ.get("YOTI_API_URL", DEFAULTS["YOTI_API_URL"])
2726
YOTI_API_PORT = environ.get("YOTI_API_PORT", DEFAULTS["YOTI_API_PORT"])
2827
YOTI_API_VERSION = environ.get("YOTI_API_VERSION", DEFAULTS["YOTI_API_VERSION"])
2928
YOTI_API_ENDPOINT = "{0}:{1}/api/{2}".format(
3029
YOTI_API_URL, YOTI_API_PORT, YOTI_API_VERSION
3130
)
32-
=======
33-
__version__ = main_ns['__version__']
34-
YOTI_API_URL = environ.get('YOTI_API_URL', DEFAULTS['YOTI_API_URL'])
35-
YOTI_API_PORT = environ.get('YOTI_API_PORT', DEFAULTS['YOTI_API_PORT'])
36-
YOTI_API_VERSION = environ.get('YOTI_API_VERSION', DEFAULTS['YOTI_API_VERSION'])
37-
YOTI_API_ENDPOINT = environ.get('YOTI_API_ENDPOINT', '{0}:{1}/api/{2}'.format(YOTI_API_URL, YOTI_API_PORT, YOTI_API_VERSION))
38-
>>>>>>> SDK-826: Add environment variable to allow overriding of whole endpoint
3931

4032
YOTI_API_VERIFY_SSL = environ.get("YOTI_API_VERIFY_SSL", DEFAULTS["YOTI_API_VERIFY_SSL"])
4133
if YOTI_API_VERIFY_SSL == "false":

0 commit comments

Comments
 (0)