From: Jaanus Torp Date: Sat, 22 Aug 2020 14:30:50 +0000 (+0000) Subject: Fixes tests which have broken since 'list' improvements X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4a81dc2fa3513a6ac6b2145985415dfb833a48eb;p=bcachefs-tools-debian Fixes tests which have broken since 'list' improvements Improvements to the 'list' command broke the basic test assertion that the output should be only 2 lines. Now it's 95 lines. This PR fixes this test for now. Thank you for the great work! --- diff --git a/tests/test_basic.py b/tests/test_basic.py index f219f07..47b621c 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -37,7 +37,7 @@ def test_list(tmpdir): assert ret.returncode == 0 assert len(ret.stderr) == 0 assert "recovering from clean shutdown" in ret.stdout - assert len(ret.stdout.splitlines()) == 2 + assert len(ret.stdout.splitlines()) == 95 def test_list_inodes(tmpdir): dev = util.format_1g(tmpdir)