diff options
Diffstat (limited to 'test/gvfs-test')
-rwxr-xr-x | test/gvfs-test | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/gvfs-test b/test/gvfs-test index fbaebbc4..d180d9ab 100755 --- a/test/gvfs-test +++ b/test/gvfs-test @@ -447,15 +447,13 @@ class ArchiveMounter(GvfsTestCase): @unittest.skipUnless(os.getenv('XDG_RUNTIME_DIR'), 'No $XDG_RUNTIME_DIR available') +@unittest.skipUnless(os.path.exists(os.path.expanduser('~/.ssh/id_rsa')), 'This test needs an existing ~/.ssh/id_rsa') class Sftp(GvfsTestCase): def setUp(self): '''Run ssh server''' super().setUp() - self.assertTrue(os.path.exists(os.path.expanduser('~/.ssh/id_rsa')), - 'This test needs an existing ~/.ssh/id_rsa') - # find sftp-server for dir in ['/usr/local/lib/openssh', '/usr/lib/openssh', |