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

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

src/l/i/lib-rar-python-HEAD/librar/test_archive.py   lib-rar-python(Download)
    file_helper.create_file(fabs,"content-1")
 
    a.add_dir(drel_top)
 
    self.assertEqual(a.run(),0) 
    file_helper.create_file(fabs,"content-1")
 
    a.add_dir(drel_top)
 
    file_helper.mkdir_p(dabs2)
    file_helper.create_file(fabs3,"content-3")
 
    a.add_dir(drel_topB)
 
    self.assertEqual(a.run(),0) 
    file_helper.create_file(fabs3,"content-3")
 
    a.add_dir(drel_topB)
 
    self.assertEqual(a.run(),0) 
    file_helper.create_file(fabs2,"content-2")
 
    a.add_dir(drel_top)
    a.exclude(frel) # exclude the first file!