summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-10-12 11:35:46 +0200
committerAlexander Larsson <alexl@redhat.com>2012-10-12 11:35:46 +0200
commitebcc67f826d27c71776b06e3ddd629e0056dd9e0 (patch)
treeeb05a0c334cb9596d2c9a4e9b6ff2e963e0acf08 /test
parentcaedd86fcb1a3d0c499fdf8b091b94f1764f8d61 (diff)
tests: Disable smb usershare test if not in testbed
This relies on usershares being set up which might not be true.
Diffstat (limited to 'test')
-rwxr-xr-xtest/gvfs-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gvfs-test b/test/gvfs-test
index 9d4d2acf..733347fb 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -401,7 +401,7 @@ class Ftp(GvfsTestCase):
finally:
self.unmount(uri)
-@unittest.skipUnless(samba_running, 'smbd is not running')
+@unittest.skipUnless(in_testbed, 'not running under gvfs-testbed')
class Smb(GvfsTestCase):
def setUp(self):