1.1 --- a/gmyth/tests/test_livetv_stress.py Thu May 03 16:07:36 2007 +0100
1.2 +++ b/gmyth/tests/test_livetv_stress.py Wed May 16 19:46:20 2007 +0100
1.3 @@ -3,16 +3,19 @@
1.4 #doc: stress tests over gmyth_livetv_* methods
1.5
1.6 from testing_tools import start, finish
1.7 +from utils import TestConfigFile
1.8 import sys
1.9
1.10 -p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2)
1.11 +cfg_file = TestConfigFile('test_scripts.cfg')
1.12 +
1.13 +p = start('gmyth_test_livetv', ["myth://%s:%s/livetv?channel=1" % (cfg_file.get_host(), cfg_file.get_port())], 2)
1.14
1.15 finish(p)
1.16
1.17 -p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2)
1.18 +p = start('gmyth_test_livetv', ["myth://%s:%s/livetv?channel=1" % (cfg_file.get_host(), cfg_file.get_port())], 2)
1.19
1.20 finish(p)
1.21
1.22 -p = start('gmyth_test_livetv', ['myth://192.168.3.165:6543/livetv?channel=1'], 2)
1.23 +p = start('gmyth_test_livetv', ['myth://%s:%s/livetv?channel=1' % (cfg_file.get_host(), cfg_file.get_port())], 2)
1.24
1.25 sys.exit(finish(p))