MCPcopy
hub / github.com/borgbackup/borg / test_stats_basic

Function test_stats_basic

src/borg/testsuite/archive_test.py:28–33  ·  view source on GitHub ↗
(stats)

Source from the content-addressed store, hash-verified

26
27
28def test_stats_basic(stats):
29 assert stats.osize == 20
30 assert stats.usize == 20
31 stats.update(20, unique=False)
32 assert stats.osize == 40
33 assert stats.usize == 20
34
35
36def test_stats_progress_tty(stats, monkeypatch, columns=80):

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected