diff --git a/settings.py b/settings.py index 5800d5379908003268b19261aa5574350fd420b5..98d79f3ad264af97380ac32bfe6b0d7ccc2587ab 100644 --- a/settings.py +++ b/settings.py @@ -1,7 +1,15 @@ +import os + '''Settings used by LDE regression test''' '''URL API to test''' -BASE_URL = 'https://simcaq.c3sl.ufpr.br/api/v1/' + +if os.environ.get('BASE_URL') is not None: + BASE_URL = os.environ.get('BASE_URL') +else: + BASE_URL = 'https://simcaq.c3sl.ufpr.br/api/v1/' + +print("using BASE_URL=",BASE_URL) '''List of all base routes available to test''' BASE_ROUTE_LIST = [