mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -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'
|
||||
strategy:
|
||||
matrix:
|
||||
Python37:
|
||||
python.version: '3.7'
|
||||
Python38:
|
||||
python.version: '3.8'
|
||||
Python39:
|
||||
|
|
|
@ -1,16 +1,8 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
import nzb2media
|
||||
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():
|
||||
assert transcoder.is_video_good(nzb2media.TEST_FILE, 1) is True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue