gmyth/tests/test_livetv_stress.py
author rosfran
Wed May 16 23:21:58 2007 +0100 (2007-05-16)
branchtrunk
changeset 677 1b7b4d7f714c
parent 675 4c7f6a9bfded
permissions -rwxr-xr-x
[svn r683] More test configuration options.
rosfran@626
     1
#!/usr/bin/python
rosfran@626
     2
rosfran@626
     3
#doc: stress tests over gmyth_livetv_* methods
rosfran@626
     4
rosfran@626
     5
from testing_tools import start, finish
rosfran@675
     6
from utils import TestConfigFile
rosfran@626
     7
import sys
rosfran@626
     8
rosfran@675
     9
cfg_file = TestConfigFile('test_scripts.cfg')
rosfran@675
    10
rosfran@677
    11
p = start('gmyth_test_livetv', ["myth://%s:%s/livetv?channel=%s" % (cfg_file.get_host(), \
rosfran@677
    12
        cfg_file.get_port(), cfg_file.get_tv_channel())], 2)
rosfran@626
    13
rosfran@626
    14
finish(p)
rosfran@626
    15
rosfran@677
    16
p = start('gmyth_test_livetv', ["myth://%s:%s/livetv?channel=%s" % (cfg_file.get_host(), \
rosfran@677
    17
        cfg_file.get_port(), cfg_file.get_tv_channel())], 2)
rosfran@626
    18
rosfran@626
    19
finish(p)
rosfran@626
    20
rosfran@677
    21
p = start('gmyth_test_livetv', ["myth://%s:%s/livetv?channel=%s" % (cfg_file.get_host(), \
rosfran@677
    22
        cfg_file.get_port(), cfg_file.get_tv_channel())], 2)
rosfran@677
    23
 
rosfran@626
    24
sys.exit(finish(p))