summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaanus Torp <jaanus@saun.ee>2020-08-22 14:30:50 +0000
committerGitHub <noreply@github.com>2020-08-22 14:30:50 +0000
commit4a81dc2fa3513a6ac6b2145985415dfb833a48eb (patch)
tree6b30663efc937301d2e9297e9a1c5c44f71ff0e7
parent21ade396535e51503511f42ea06d58e25c0646c5 (diff)
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!
-rw-r--r--tests/test_basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_basic.py b/tests/test_basic.py
index f219f07e..47b621c9 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)