def test_has_file(self): """Test that the ftp client can check if a file exists""" client = FtpClient() input_file = '20120726022003.inp.zip' message = ('Expected that %s exists on the server' % input_file) self.assertTrue(client.has_file(input_file), message)