From 4a81dc2fa3513a6ac6b2145985415dfb833a48eb Mon Sep 17 00:00:00 2001 From: Jaanus Torp Date: Sat, 22 Aug 2020 14:30:50 +0000 Subject: [PATCH] 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! --- tests/test_basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2