From 79b6476827f80ed86019804b7293ff1a8fd4af9a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 13 Apr 2021 17:57:58 -0700 Subject: dynaconf: switch to fuzzycat.config import across project This is the recommended way to use dynaconf. --- tests/test_matching.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_matching.py b/tests/test_matching.py index 7d8b7af..56999e6 100644 --- a/tests/test_matching.py +++ b/tests/test_matching.py @@ -1,14 +1,13 @@ from fuzzycat.matching import anything_to_entity, match_release_fuzzy +from fuzzycat.config import settings from fatcat_openapi_client import ReleaseEntity import pytest import elasticsearch import logging -from dynaconf import Dynaconf logger = logging.getLogger('test_matching') logger.setLevel(logging.DEBUG) -settings = Dynaconf(envvar_prefix="FUZZYCAT") FATCAT_SEARCH_URL = settings.get("FATCAT_SEARCH_URL", "https://search.fatcat.wiki:443") -- cgit v1.2.3