def METHOD_NAME(self) -> None:
    with self.assertRaisesRegex(
        Exception, "manifest file test contains unknown section 'invalid.section'"
    ):
        ManifestParser(
            "test",
            """