From 04e16c0f49248e6f7d6caecb0975b52fd958ef50 Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Fri, 13 Jan 2023 13:54:03 +0100 Subject: [PATCH] load dotfile in tests --- tests/test_api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_api.py b/tests/test_api.py index 587647d..1412301 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -1,6 +1,10 @@ import json import pytest +from dotenv import load_dotenv + +# Load dotenv file +load_dotenv() from truthseeker import APP test_app = APP.test_client()