summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-02-05 16:28:22 +0100
committerBastien Nocera <hadess@hadess.net>2018-02-05 16:28:22 +0100
commitd1d3edbaa3aad6c3be6f201c7048c6e70c4e161f (patch)
treedcc8bd914cc346624b2552fae369681c47657c06 /tests
parent8db612400503d346529f59ac597d1fddb7c75fe1 (diff)
downloadgnome-settings-daemon-d1d3edbaa3aad6c3be6f201c7048c6e70c4e161f.tar.gz
tests: Fix gvfs error on test teardown
Works-around a possible error on teardown in some circumstances: rm: cannot remove '/tmp/gsd-power-testeSVBTD/runtime/gvfs': Transport endpoint is not connected See https://bugzilla.gnome.org/show_bug.cgi?id=793187
Diffstat (limited to 'tests')
-rw-r--r--tests/gsdtestcase.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py
index cf1c9f7e..81691b5a 100644
--- a/tests/gsdtestcase.py
+++ b/tests/gsdtestcase.py
@@ -54,6 +54,7 @@ class GSDTestCase(dbusmock.DBusTestCase):
@classmethod
def setUpClass(klass):
os.environ['GIO_USE_VFS'] = 'local'
+ os.environ['GVFS_DISABLE_FUSE'] = '1'
# we do some string checks, disable translations
os.environ['LC_MESSAGES'] = 'C'
klass.workdir = tempfile.mkdtemp(prefix='gsd-power-test')