Skip to content

Commit 58dbd66

Browse files
author
Valentin Noel
committed
pyTest: fixed testOffset
* Removed ffmpeg dependent testRewrapVideoPositiveOffsetWithoutGenerator * The RuntimeError raising is not systematic
1 parent d01ccc8 commit 58dbd66

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/pyTest/testOffset.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,6 @@
1515
from pyAvTranscoder import avtranscoder as av
1616

1717

18-
@raises(RuntimeError)
19-
def testRewrapVideoPositiveOffsetWithoutGenerator():
20-
"""
21-
Add a positive offset supposed to have a generator.
22-
Depending on the codec and the given parameters, the generator could not be instanciate.
23-
"""
24-
inputFileName = os.environ['AVTRANSCODER_TEST_VIDEO_RAW_FILE']
25-
outputFileName = "testPositiveOffsetWithoutGenerator.h264"
26-
offset = 10
27-
28-
ouputFile = av.OutputFile( outputFileName )
29-
transcoder = av.Transcoder( ouputFile )
30-
31-
transcoder.addStream( av.InputStreamDesc(inputFileName, 0), "", offset )
32-
33-
3418
def testTranscodeAudioPositiveOffset():
3519
"""
3620
Transcode one audio stream (profile wave24b48kmono) with offset at the beginning of the process.

0 commit comments

Comments
 (0)