- class testing.unit.test_diffdir.DDTest(methodName='runTest')
Test functions in diffdir.py
- copyfileobj(infp, outfp)
Copy in fileobj to out, closing afterwards
Given directory name, make sure can tell when nothing changes
Hook method for setting up the test fixture before exercising it.
Test making a diff
Another diff test - this one involves multivol support (requires rdiff to be installed to pass)
Test simultaneous delta and sig generation
Generate signatures and deltas of dirs1, 2, 3, 4 and compare those produced by DirDelta_WriteSig and other methods.
Test producing a diff against same sig; should be len 0
Test producing diff against directories of special files
Test producing tar signature of various file types
- testing.unit.test_diffdir.compare_tar(tarfile1, tarfile2)
Compare two tarfiles
- testing.unit.test_diffdir.tarinfo_eq(ti1, ti2)