diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-02-23 15:44:51 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-08-02 11:22:40 +0200 |
commit | a16fa8390d6448aab90079e6a8c16416cf978634 (patch) | |
tree | e9c24dde38636541329b5d4e62b8baf7baf9d9b6 | |
parent | 2a943f56d4aa75a70e592b02c1fd9f0c11b7764b (diff) |
Skip tests requiring /proc
Origin: debian
Forwarded: no
Patch-Name: proc_mount.diff
Gbp-Pq: Name proc_mount.diff
-rwxr-xr-x | tests/t4_adm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/t4_adm.py b/tests/t4_adm.py index a38e0fa..4a3f509 100755 --- a/tests/t4_adm.py +++ b/tests/t4_adm.py @@ -22,6 +22,7 @@ import tempfile import unittest import subprocess import pytest +import os @pytest.mark.usefixtures('pass_s3ql_cmd_argv', 'pass_reg_output') class AdmTests(unittest.TestCase): @@ -56,6 +57,7 @@ class AdmTests(unittest.TestCase): return stdout + @unittest.skipUnless(os.path.exists('/proc/mounts'), '/proc/mounts not available') def test_passphrase(self): self.mkfs() |