Fixed import of importlib.metadata

This commit is contained in:
romi1502
2021-03-01 11:54:47 +01:00
parent 56bb993a39
commit 4017216423
3 changed files with 26 additions and 1 deletions

21
tests/test_command.py Normal file
View 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',
])