/usr/share/pyshared/insanity/tests/scenarios/simple_encoder.py is in python-insanity 0.0+git20110920.4750a8e8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | import os.path
from insanity.scenario import Scenario
from insanity.monitor import GstDebugLogMonitor
from insanity.tests.simple_encoder import SimpleEncoderTest
class SimpleEncoderScenario(Scenario):
__test_name__ = "simple-encoder-scenario"
__test_description__ = "Scenario for multiple video encoder tests"
def setUp(self):
if not Scenario.setUp(self):
return False
self.addSubTest(SimpleEncoderTest, {"codec":"theora"},
instance_name="theora")
self.addSubTest(SimpleEncoderTest, {"codec":"schro"},
instance_name="schro")
return True
def subTestDone(self, test):
return True
|