Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/h/e/hellanzb-HEAD/Hellanzb/test/StateXMLTestCase.py   hellanzb(Download)
"""
import os, shutil, tempfile, time, unittest, Hellanzb, Hellanzb.NZBQueue
from Hellanzb.test import HellanzbTestCase, EVIL_STRINGS
from Hellanzb.Log import *
from Hellanzb.NZBLeecher.NZBModel import NZB, NZBFile
    def testArchiveNameRecovery(self):
        """ Ensure state XML recovery via archive names """
        for test in EVIL_STRINGS:
            self.setUpEnv()
            self.assertRecoveredArchiveName(test)
        # after parsed from XML:
        # [u'S\xc3\xc2\xa3o_Paulo']
        for test in EVIL_STRINGS:
            self.setUpEnv()
            self.assertRecoveredSkippedPar(test)