def METHOD_NAME(self):
    plugin = self.mod.PlaylistExport()
    with temp_filename(as_path=True) as playlist_file_path:
        song1 = audio_file(
            filename=playlist_file_path.parent / "a" / "b.mp3",
            length=23,
            artist="a",
            title="b",
        )
        song2 = audio_file(
            filename=playlist_file_path.parent.parent / "c.mp3",
            length=1,
            artist="a",
            title="c",
        )
        plugin.save_playlist(
            [song1, song2], playlist_file_path, self.mod.FORMAT_PLS, relative=True
        )
        result = playlist_file_path.read_text()
    assert result == dedent(
        f"""\
        [playlist]
        File1={os.path.join("a", "b.mp3")}
        Title1=a - b
        Length1=23
        File2={os.path.join(os.pardir, "c.mp3")}
        Title2=a - c
        Length2=1
        NumberOfEntries=2
        Version=2
        """
    )