|
|
|
@ -1,8 +1,9 @@
|
|
|
|
|
import click
|
|
|
|
|
import os, sys, click
|
|
|
|
|
|
|
|
|
|
from .scenario import Scenario
|
|
|
|
|
|
|
|
|
|
from ffx.test.helper import createMediaFile
|
|
|
|
|
from ffx.process import executeProcess
|
|
|
|
|
|
|
|
|
|
class Scenario1(Scenario):
|
|
|
|
|
"""Creating file VAa, h264/aac/aac
|
|
|
|
@ -19,5 +20,12 @@ class Scenario1(Scenario):
|
|
|
|
|
|
|
|
|
|
click.echo(f"Running scenario 1")
|
|
|
|
|
|
|
|
|
|
createMediaFile(directory=self._testDirectory)
|
|
|
|
|
mediaFilePath = createMediaFile(directory=self._testDirectory)
|
|
|
|
|
|
|
|
|
|
commandSequence = [sys.executable, os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'ffx.py'), '--help']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
click.echo(f"Scenarion 1 test sequence: {commandSequence}")
|
|
|
|
|
|
|
|
|
|
out, err, rc = executeProcess(commandSequence)
|
|
|
|
|
click.echo(out)
|
|
|
|
|