From 69675d225c41df2354c5ae700ddd300ea0ed5734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Tue, 19 Feb 2019 14:27:31 +0100 Subject: tests/integration/shell.py: More asserts in test_isolated_no_mount This verifies that the command fails with the right error. --- tests/integration/shell.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/integration/shell.py b/tests/integration/shell.py index 615ea9d87..97c4d0cad 100644 --- a/tests/integration/shell.py +++ b/tests/integration/shell.py @@ -227,6 +227,8 @@ def test_isolated_no_mount(cli, tmpdir, datafiles, path): } }) assert result.exit_code != 0 + assert path in result.stderr + assert 'No such file or directory' in result.stderr # Test that we warn about non-existing files on the host if the mount is not -- cgit v1.2.1