mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-06 04:32:43 +00:00
Fixed import of importlib.metadata
This commit is contained in:
21
tests/test_command.py
Normal file
21
tests/test_command.py
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env python
|
||||
# coding: utf8
|
||||
|
||||
""" Unit testing for Separator class. """
|
||||
|
||||
__email__ = 'research@deezer.com'
|
||||
__author__ = 'Deezer Research'
|
||||
__license__ = 'MIT License'
|
||||
|
||||
from spleeter.__main__ import spleeter
|
||||
from typer.testing import CliRunner
|
||||
|
||||
|
||||
def test_version():
|
||||
|
||||
runner = CliRunner()
|
||||
|
||||
# execute spleeter version command
|
||||
result = runner.invoke(spleeter, [
|
||||
'--version',
|
||||
])
|
||||
Reference in New Issue
Block a user