From faab9ca49ac2d405e9fa82f3d875a82ef42653dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Mon, 22 Jul 2019 15:13:47 +0200 Subject: [PATCH] MAINT: added hint --- tests/test_file.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_file.py b/tests/test_file.py index 17530cb..d978b12 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -462,6 +462,8 @@ def test_insert_files_in_dir_error1(): raise_exception_on_error=False, flags={ "InsertFilesInDir": "/root"}) + # If this fails, it is likely that the server runs with root permissions + # which is discouraged. assert_is_not_none(c.messages["Error", 0]) assert_true(c.messages["Error", 0][0].startswith( "Cannot read or enter the desired directory.")) -- GitLab