diff --git a/src/ukify/test/test_ukify.py b/src/ukify/test/test_ukify.py index 5a42a94799..31054eabea 100755 --- a/src/ukify/test/test_ukify.py +++ b/src/ukify/test/test_ukify.py @@ -850,7 +850,7 @@ def test_key_cert_generation(tmpdir): '-noout', ], text = True) assert 'Certificate' in out - assert 'Issuer: CN = SecureBoot signing key on host' in out + assert re.search('Issuer: CN\s?=\s?SecureBoot signing key on host', out) if __name__ == '__main__': sys.exit(pytest.main(sys.argv))