From 663d04f5cf5403a82f6d827eee4d8b25950ecfd2 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Fri, 13 Sep 2019 09:37:45 +0200 Subject: [PATCH] Run full APE tests for AAC files --- test/formats/test_aac.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/formats/test_aac.py b/test/formats/test_aac.py index 6328e634b..bfc4326b3 100644 --- a/test/formats/test_aac.py +++ b/test/formats/test_aac.py @@ -1,4 +1,5 @@ from .common import CommonTests +from .test_apev2 import CommonApeTests class AACTest(CommonTests.SimpleFormatsTestCase): @@ -12,6 +13,13 @@ class AACTest(CommonTests.SimpleFormatsTestCase): unexpected_info = ['~video'] -class AACWithAPETest(CommonTests.TagFormatsTestCase): +class AACWithAPETest(CommonApeTests.ApeTestCase): testfile = 'test-apev2.aac' supports_ratings = False + expected_info = { + 'length': 120, + '~channels': '2', + '~sample_rate': '44100', + '~bitrate': '123.824', + } + unexpected_info = ['~video']