mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-22 15:32:08 +00:00
Trying to reduce the logs in the case of errors.
This commit is contained in:
parent
dc024a9432
commit
a495ee5342
@ -98,7 +98,7 @@ def pytest_collection_modifyitems(config, items):
|
|||||||
selector(item)
|
selector(item)
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
@pytest.fixture(autouse=True, scope="module")
|
||||||
def container_log(request: SubRequest):
|
def container_log(request: SubRequest):
|
||||||
error_log = request.getfixturevalue("error_log")
|
error_log = request.getfixturevalue("error_log")
|
||||||
assert error_log is not None
|
assert error_log is not None
|
||||||
|
Loading…
Reference in New Issue
Block a user