def assert_context_menu(self, parent: str, name: str) -> None:
        """Asserts that keys for a ContextMenu are correctly set.

        :param parent: parent \\shell key
        :param name: name of the key for the menu
        """
        for k, sk, v in (
            # Checks the key parent\\name
            ("", "", ""),
            ("", "MUIVerb", name),
            ("", "subcommands", ""),
            # Checks the key parent\\name\\shell
            ("\\shell", "", ""),
        ):
            assert self.get_key_value(f"{parent}\\{name}{k}", sk) == v
Asserts that keys for a ContextMenu are correctly set.

        :param parent: parent \shell key
        :param name: name of the key for the menu
        
context_menu/pytest_plugin.py