Lines Matching refs:extra_args
427 def _test_ZipWriteStr(self, zinfo_or_arcname, contents, extra_args=None): argument
428 extra_args = dict(extra_args or {})
437 expected_compress_type = extra_args.get("compress_type",
443 expected_mode = extra_args.get("perms", 0o644)
450 expected_mode = extra_args.get("perms", zinfo_perms)
452 common.ZipWriteStr(zip_file, zinfo_or_arcname, contents, **extra_args)
461 def _test_ZipWriteStr_large_file(self, large, small, extra_args=None): argument
462 extra_args = dict(extra_args or {})
489 expected_compress_type = extra_args.get("compress_type",
493 common.ZipWrite(zip_file, test_file_name, **extra_args)
494 common.ZipWriteStr(zip_file, arcname_small, small, **extra_args)