]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/ukify/test/test_ukify.py
test_ukify: formatting
[thirdparty/systemd.git] / src / ukify / test / test_ukify.py
index bd721da666ae20fd8f73206d581ee2db0d95fd0f..7db7c6ba61a0b362ba1acbace2495ae13acf164d 100755 (executable)
@@ -517,14 +517,12 @@ baz,3
 
     assert found is True
 
-
 def unbase64(filename):
     tmp = tempfile.NamedTemporaryFile()
     base64.decode(filename.open('rb'), tmp)
     tmp.flush()
     return tmp
 
-
 def test_uname_scraping(kernel_initrd):
     if kernel_initrd is None:
         pytest.skip('linux+initrd not found')
@@ -692,8 +690,9 @@ def test_pcr_signing(kernel_initrd, tmp_path):
         f'--pcr-private-key={priv.name}',
     ] + arg_tools
 
-    # If the public key is not explicitly specified, it is derived automatically. Let's make sure everything
-    # works as expected both when the public keys is specified explicitly and when it is derived from the
+    # If the public key is not explicitly specified, it is derived
+    # automatically. Let's make sure everything works as expected both when the
+    # public keys is specified explicitly and when it is derived from the
     # private key.
     for extra in ([f'--pcrpkey={pub.name}', f'--pcr-public-key={pub.name}'], []):
         opts = ukify.parse_args(args + extra)