mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2025-12-31 08:50:41 +00:00
26 lines
528 B
Python
26 lines
528 B
Python
# import os.path
|
|
import gzip
|
|
from glob import glob
|
|
# from typing import Dict, Any, cast
|
|
|
|
from unittest import TestCase
|
|
|
|
# from .utils import all_files, ffprobe
|
|
|
|
import wavinfo
|
|
|
|
class TestRf64(TestCase):
|
|
|
|
def setUp(self) -> None:
|
|
return super().setUp()
|
|
|
|
def test_open(self):
|
|
|
|
for path in glob("tests/test_files/rf64/*.wav.gz"):
|
|
gz = gzip.open(path)
|
|
wav_info = wavinfo.WavInfoReader(gz)
|
|
|
|
self.assertIsNotNone(wav_info)
|
|
# self.assertIsNotNone(wav_info.bext)
|
|
|