diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-04-13 17:57:58 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-04-13 17:58:00 -0700 |
commit | 79b6476827f80ed86019804b7293ff1a8fd4af9a (patch) | |
tree | 25b9d90c7e2f507cb59f180efefdaff5c8e68254 /tests | |
parent | 4949511ccaffdc270f1c6306e3df5d356e9edbe0 (diff) | |
download | fuzzycat-79b6476827f80ed86019804b7293ff1a8fd4af9a.tar.gz fuzzycat-79b6476827f80ed86019804b7293ff1a8fd4af9a.zip |
dynaconf: switch to fuzzycat.config import across project
This is the recommended way to use dynaconf.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_matching.py | 3 |
1 files changed, 1 insertions, 2 deletions
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") |