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))
|