This is the first test that fails:
======================================================================
FAIL: test_anonymous_api_user (__main__.Ftp)
ftp:// anonymous (API with user)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gvfs-testbed-script", line 676, in test_anonymous_api_user
self.unmount_api(gfile)
File "/home/gvfs-testbed-script", line 287, in unmount_api
self.assertNotEqual(self.cb_result, None, 'operation timed out')
AssertionError: None == None : operation timed out
The code does:
def test_anonymous_api_user(self):
'''ftp:// anonymous (API with user)'''
This is the first test that fails: ======= ======= ======= ======= ======= ======= ======= ======= ======= api_user (__main__.Ftp) ------- ------- ------- ------- ------- ------- ------- ------- ------- gvfs-testbed- script" , line 676, in test_anonymous_ api_user unmount_ api(gfile) gvfs-testbed- script" , line 287, in unmount_api assertNotEqual( self.cb_ result, None, 'operation timed out')
=======
FAIL: test_anonymous_
ftp:// anonymous (API with user)
-------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
AssertionError: None == None : operation timed out
The code does: api_user( self):
def test_anonymous_
'''ftp:// anonymous (API with user)'''
uri = 'ftp://anonymous @localhost: 2121' new_for_ uri(uri)
self.assertEqu al(self. mount_api( gfile), True)
self. do_mount_ check_api( gfile, True)
self. unmount_ api(gfile)
gfile = Gio.File.
try:
finally:
It's failing in the "finally" clause, with a timeout. It's never unmounted.
Then the next test comes along, and fails because the thing is still mounted:
test_anonymous_ cli_user (__main__.Ftp) @localhost: 2121/: Location is already mounted cli_user (__main__.Ftp) ------- ------- ------- ------- ------- ------- ------- ------- ------- gvfs-testbed- script" , line 601, in test_anonymous_ cli_user check_call( ['gio', 'mount', uri]) python3. 6/subprocess. py", line 291, in check_call ror(retcode, cmd) CalledProcessEr ror: Command '['gio', 'mount', 'ftp://anonymous @localhost: 2121']' returned non-zero exit status 2.
ftp:// anonymous (CLI with user) ... gio: ftp://anonymous
(...)
ERROR: test_anonymous_
ftp:// anonymous (CLI with user)
-------
Traceback (most recent call last):
File "/home/
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.