File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,9 @@ def test_set_key_encoding(dotenv_path):
6161 assert dotenv_path .read_text (encoding = encoding ) == "a='é'\n "
6262
6363
64- @pytest .mark .skipif (os .geteuid () == 0 , reason = "Root user can access files even with 000 permissions." )
64+ @pytest .mark .skipif (
65+ os .geteuid () == 0 , reason = "Root user can access files even with 000 permissions."
66+ )
6567def test_set_key_permission_error (dotenv_path ):
6668 dotenv_path .chmod (0o000 )
6769
@@ -168,7 +170,9 @@ def test_unset_encoding(dotenv_path):
168170 assert dotenv_path .read_text (encoding = encoding ) == ""
169171
170172
171- @pytest .mark .skipif (os .geteuid () == 0 , reason = "Root user can access files even with 000 permissions." )
173+ @pytest .mark .skipif (
174+ os .geteuid () == 0 , reason = "Root user can access files even with 000 permissions."
175+ )
172176def test_set_key_unauthorized_file (dotenv_path ):
173177 dotenv_path .chmod (0o000 )
174178
You can’t perform that action at this time.
0 commit comments