From 90cd52379aa80a719859d40b5828a9a85f931281 Mon Sep 17 00:00:00 2001 From: Bill Riehl Date: Mon, 3 Jun 2024 10:52:29 -0400 Subject: [PATCH] add missing __init__ files, conftest --- lib/__init__.py | 0 test/__init__.py | 0 test/conftest.py | 12 ++++++++++++ 3 files changed, 12 insertions(+) create mode 100644 lib/__init__.py create mode 100644 test/__init__.py create mode 100644 test/conftest.py diff --git a/lib/__init__.py b/lib/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test/conftest.py b/test/conftest.py new file mode 100644 index 0000000..7f48745 --- /dev/null +++ b/test/conftest.py @@ -0,0 +1,12 @@ +import os +from configparser import ConfigParser + +import pytest + + +@pytest.fixture +def config(): + config_file = os.environ.get("KB_DEPLOYMENT_CONFIG", None) + config = ConfigParser() + config.read(config_file) + return dict(config.items("NarrativeService"))