Skip to content

Commit

Permalink
fixed tests 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bbcho committed Dec 2, 2022
1 parent c045b0a commit f175f94
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pytest/test_risktools.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@

test_date = "2021-12-24"

with open(os.path.dirname(os.path.realpath(__file__)) + '/../user.json', mode='r') as file:
upf = json.load(file)
upf = {"m*": {"user": "", "pass": ""}, "eia": "", "quandl": ""}
try:
with open(os.path.dirname(os.path.realpath(__file__)) + '/../user.json', mode='r') as file:
upf = json.load(file)
except:
pass

# Github Actions CI Env Vars
up = {"m*": {"user": "", "pass": ""}, "eia": "", "quandl": ""}
Expand Down

0 comments on commit f175f94

Please sign in to comment.