Lines Matching refs:zip
44 with zipfile.ZipFile(tempzip, 'w') as zip:
46 zip.write(contents[arcname], arcname)
61 with validUnlockCredsZip() as zip:
62 creds = UnlockCredentials.from_credential_archive(zip)
75 }) as zip:
77 UnlockCredentials.from_credential_archive(zip)
83 }) as zip:
85 UnlockCredentials.from_credential_archive(zip)
91 }) as zip:
93 UnlockCredentials.from_credential_archive(zip)
101 }) as zip:
103 UnlockCredentials.from_credential_archive(zip)
111 }) as zip:
113 UnlockCredentials.from_credential_archive(zip)
121 }) as zip:
123 UnlockCredentials.from_credential_archive(zip)
222 with validUnlockCredsZip() as zip:
223 creds = UnlockCredentials.from_credential_archive(zip)
240 with validUnlockCredsZip() as zip:
241 creds = UnlockCredentials.from_credential_archive(zip)
333 with validUnlockCredsZip() as zip:
335 self.assertEqual(main([zip.name]), 0)
340 with validUnlockCredsZip() as zip:
344 self.assertEqual(main([zip.name, '-s', SERIAL]), 0)
360 with validUnlockCredsZip() as zip:
365 self.assertNotEqual(main([zip.name]), 0)
371 with validUnlockCredsZip() as zip:
374 self.assertNotEqual(main([zip.name]), 0)
381 with validUnlockCredsZip() as zip:
384 self.assertNotEqual(main([zip.name]), 0)
394 }) as zip:
396 self.assertNotEqual(main([zip.name]), 0)