mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-12 14:12:53 +02:00
Bugfix/emit background error (#4156)
* print the test name when it runs * type hints * can't reuse session after an exception * better logging --------- Co-authored-by: Richard Kuo (Danswer) <rkuo@onyx.app>
This commit is contained in:
@ -108,3 +108,13 @@ def admin_user() -> DATestUser:
|
||||
@pytest.fixture
|
||||
def reset_multitenant() -> None:
|
||||
reset_all_multitenant()
|
||||
|
||||
|
||||
def pytest_runtest_logstart(nodeid: str, location: tuple[str, int | None, str]) -> None:
|
||||
print(f"\nTest start: {nodeid}")
|
||||
|
||||
|
||||
def pytest_runtest_logfinish(
|
||||
nodeid: str, location: tuple[str, int | None, str]
|
||||
) -> None:
|
||||
print(f"\nTest end: {nodeid}")
|
||||
|
Reference in New Issue
Block a user