diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-02-05 16:28:22 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-02-05 16:28:22 +0100 |
commit | d1d3edbaa3aad6c3be6f201c7048c6e70c4e161f (patch) | |
tree | dcc8bd914cc346624b2552fae369681c47657c06 | |
parent | 8db612400503d346529f59ac597d1fddb7c75fe1 (diff) | |
download | gnome-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
-rw-r--r-- | tests/gsdtestcase.py | 1 |
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') |