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

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

src/l/i/lib-rar-python-HEAD/librar/test_archive.py   lib-rar-python(Download)
    # Part B:
    b = archive.Archive(rar,base)
    syscode = b.extract(target_path=base)
    self.assertEqual(syscode,0)
 
    # Part B:
    b = archive.Archive(rar,base)
    syscode = b.extract(target_path=base)
    self.assertEqual(syscode,0)
 
    # Part B:                                                     
    b = archive.Archive(rar,base)          
    syscode = b.extract(target_path=base)
    self.assertEqual(syscode,0)
 
    # test content of archive by extracting:                                                     
    b = archive.Archive(rar,base)    
    syscode = b.extract(target_path=self.tempdir)
    self.assertEqual(syscode,0)
 
    # Part B:                                                     
    b = archive.Archive(rar,base)          
    syscode = b.extract(target_path=base)
    self.assertEqual(syscode,0)