Lines Matching full:mock
47 Construct some mock objects for use with the tests.
92 Construct a ZipInfo mock object with two records, verify that write is
116 """Create a mock zip sourec object.
134 """Create mock destination zip.
154 """Create a mock file object."""
165 """Create an array of mock file objects.
167 Create three mock file objects that we can use for testing.
210 """Create a mock ZipFile object for testSingleFileArchive.
215 A configured mock object
247 """Create mock ZipFile object for use with testMultiFileArchive.
249 The mock just needs to return the infolist mock that is prepared in
253 A configured mock object
296 """Create a mock for the os.path and os.stat objects.
309 """Create a mock ZipFile for use with testAddFileToArchive.
315 A configured mock object
376 """Setup mock for DirectoryZipper.AddFileToArchive.
403 """Setup mock for DirectoryZipper.WriteIndexRecord."""
417 """Mock out DirectoryZipper.ArchiveIsValid and DirectoryZipper.FixArchive.
419 Mock these methods out such that file1, file2, and file3 go into one
449 """Mock out os.path.isfile.
451 Mock this out so the things we want to appear as files appear as files and