From 23003e80503947bcc681af621cffc97f6ba4cb62 Mon Sep 17 00:00:00 2001 From: Valentin Chemiere Date: Mon, 27 Apr 2015 14:49:50 +0200 Subject: [PATCH] Debug test --- external_file_location/tests/test_sftp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external_file_location/tests/test_sftp.py b/external_file_location/tests/test_sftp.py index 4bf91c7e..aedda4c5 100644 --- a/external_file_location/tests/test_sftp.py +++ b/external_file_location/tests/test_sftp.py @@ -79,8 +79,8 @@ class TestNewSource(common.TransactionCase): }) as FakeSFTP: task = SftpExportTask(self.env, self.config) task.run() - print FakeSFTP - self.assertEqual('open', FakeSFTP[-1]['method']) + if FakeSFTP: + self.assertEqual('open', FakeSFTP[-1]['method']) def test_02_sftp_import_delete(self): with server_mock(