add context and config2

This commit is contained in:
geekan 2024-01-04 22:02:47 +08:00
parent e5d11a046c
commit 10436172ca
25 changed files with 72 additions and 113 deletions

View file

@ -104,9 +104,9 @@ class Context:
@pytest.fixture(scope="package")
def llm_api():
logger.info("Setting up the test")
_context = Context()
g_context = Context()
yield _context.llm_api
yield g_context.llm_api
logger.info("Tearing down the test")