From 5c76353fe637a8ca769d25d0b0ad1b166606e5c7 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Tue, 10 Jan 2017 14:34:42 -0800 Subject: Skip tests if not root and no setuid fusermount3. --- test/test_examples.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/test_examples.py') 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() -- cgit v1.2.3