def METHOD_NAME(self) -> None:
    with temporary_root() as root:
        self.invoke_in_root(
            root, ["config", "save", "--append=TEST=value"], catch_exceptions=False
        )
        config1 = tutor_config.load(root)
        self.invoke_in_root(
            root, ["config", "save", "--append=TEST=value"], catch_exceptions=False
        )
        config2 = tutor_config.load(root)
        self.invoke_in_root(
            root, ["config", "save", "--remove=TEST=value"], catch_exceptions=False
        )
        config3 = tutor_config.load(root)
    # Value is appended
    self.assertEqual(["value"], config1["TEST"])
    # Value is not appended a second time
    self.assertEqual(["value"], config2["TEST"])
    # Value is removed
    self.assertEqual([], config3["TEST"])