File: test_m4a.py

package info (click to toggle)
pytaglib 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,136 kB
  • sloc: python: 429; makefile: 7
file content (15 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- coding: utf-8 -*-
# Copyright 2011-2016 Michael Helmling
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation
#


def test_m4a_supports_albumartist(test_file):
    """Motivated by https://github.com/supermihi/pytaglib/issues/46."""
    tfile = test_file("issue46.m4a")
    assert "ALBUMARTIST" in tfile.tags
    assert ["Higginbottom, Edward"] == tfile.tags["ALBUMARTIST"]
    tfile.close()