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