aboutsummaryrefslogtreecommitdiff
path: root/test/test_examples.py
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-01-10 14:34:42 -0800
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-01-10 14:42:26 -0800
commit5c76353fe637a8ca769d25d0b0ad1b166606e5c7 (patch)
treee91284aad519aecc31d0a9fc9f5aa91cc92ee158 /test/test_examples.py
parent09d388570b5ad0085855d90eea9be653e4bc9723 (diff)
Skip tests if not root and no setuid fusermount3.
Diffstat (limited to 'test/test_examples.py')
-rwxr-xr-xtest/test_examples.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 95eeb9a..cfd6734 100755
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -17,11 +17,13 @@ import platform
from distutils.version import LooseVersion
from tempfile import NamedTemporaryFile
from util import (wait_for_mount, umount, cleanup, base_cmdline,
- safe_sleep, basename)
+ safe_sleep, basename, fuse_test_marker)
from os.path import join as pjoin
TEST_FILE = __file__
+pytestmark = fuse_test_marker()
+
with open(TEST_FILE, 'rb') as fh:
TEST_DATA = fh.read()