MCPcopy
hub / github.com/treeverse/dvc / test_quiet_logging

Function test_quiet_logging

tests/unit/test_progress.py:7–13  ·  view source on GitHub ↗
(caplog, capsys)

Source from the content-addressed store, hash-verified

5
6
7def test_quiet_logging(caplog, capsys):
8 with caplog.at_level(logging.CRITICAL, logger="dvc"):
9 for _ in Tqdm(range(10)):
10 pass
11 out_err = capsys.readouterr()
12 assert not out_err.out
13 assert not out_err.err
14
15
16def test_quiet_logging_disable_false(caplog, capsys, mocker):

Callers

nothing calls this directly

Calls 1

TqdmClass · 0.90

Tested by

no test coverage detected