mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2026-01-02 01:40:42 +00:00
Tests for smpl
This commit is contained in:
15
tests/test_smpl.py
Normal file
15
tests/test_smpl.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from unittest import TestCase
|
||||
from glob import glob
|
||||
|
||||
import wavinfo
|
||||
|
||||
class TestSmpl(TestCase):
|
||||
def setUp(self) -> None:
|
||||
self.test_files = glob("tests/test_files/smpl/*.wav")
|
||||
return super().setUp()
|
||||
|
||||
def test_each(self):
|
||||
for file in self.test_files:
|
||||
w = wavinfo.WavInfoReader(file)
|
||||
d = w.walk()
|
||||
self.assertIsNotNone(d)
|
||||
Reference in New Issue
Block a user