def test_rountrip_file_pem(clear_crx): import crx crx.write("test/dirfix", "test-ext.crx", pemfile="test/goes_nowhere.pkey") checkcrx()
def pack(): "Pack our hypothetical Chrome extension" crx.write('my-extension-dir', 'my-extension.crx', pemfile='my-pem-file.pem')
def test_roundtrip_inline_pem(clear_crx): import crx crx.write("test/dirfix", "test-ext.crx", pem=goes_nowhere_pem) checkcrx()