module documentation

Generate the zip test data files. Run to build the tests/zipdataNN/ziptestdata.zip files from files in tests/dataNN. Replaces the file with the working copy, but does commit anything to the source repo.

Function generate Undocumented
Function main >>> from unittest import mock >>> monkeypatch = getfixture('monkeypatch') >>> monkeypatch.setattr(zipfile, 'ZipFile', mock.MagicMock()) >>> print(); main() # print workaround for bpo-32509 <BLANKLINE>...
Function walk Undocumented
def generate(suffix): (source)

Undocumented

def main(): (source)

>>> from unittest import mock >>> monkeypatch = getfixture('monkeypatch') >>> monkeypatch.setattr(zipfile, 'ZipFile', mock.MagicMock()) >>> print(); main() # print workaround for bpo-32509 <BLANKLINE> ...data01... -> ziptestdata/... ... ...data02... -> ziptestdata/... ...

def walk(datapath): (source)

Undocumented