コード例 #1
0
ファイル: test_ftp_client.py プロジェクト: vdeparday/inasafe
 def testHasFiles(self):
     """Test that the ftp client can check if a list of file exists"""
     myClient = FtpClient()
     myFiles = ["20120726022003.inp.zip", "20120726022003.out.zip"]
     myMessage = "Expected that %s exist on the server" % myFiles
     self.assertTrue(myClient.hasFiles(myFiles), myMessage)
コード例 #2
0
ファイル: test_ftp_client.py プロジェクト: vdeparday/inasafe
 def testHasFiles(self):
     """Test that the ftp client can check if a list of file exists"""
     myClient = FtpClient()
     myFiles = ['20120726022003.inp.zip', '20120726022003.out.zip']
     myMessage = ('Expected that %s exist on the server' % myFiles)
     self.assertTrue(myClient.hasFiles(myFiles), myMessage)