mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
Fix tests
This commit is contained in:
parent
331796f32d
commit
94e78bd3c4
2 changed files with 0 additions and 10 deletions
|
@ -27,8 +27,6 @@ jobs:
|
||||||
vmImage: 'Ubuntu-latest'
|
vmImage: 'Ubuntu-latest'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
Python37:
|
|
||||||
python.version: '3.7'
|
|
||||||
Python38:
|
Python38:
|
||||||
python.version: '3.8'
|
python.version: '3.8'
|
||||||
Python39:
|
Python39:
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import sys
|
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
import nzb2media
|
import nzb2media
|
||||||
from nzb2media import transcoder
|
from nzb2media import transcoder
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.xfail(
|
|
||||||
sys.platform == 'win32' and sys.version_info < (3, 8),
|
|
||||||
reason='subprocess.Popen does not support pathlib.Path commands in Python 3.7',
|
|
||||||
)
|
|
||||||
def test_transcoder_check():
|
def test_transcoder_check():
|
||||||
assert transcoder.is_video_good(nzb2media.TEST_FILE, 1) is True
|
assert transcoder.is_video_good(nzb2media.TEST_FILE, 1) is True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue