gmyth/tests/test_recorder.py
author morphbr
Fri Jun 01 13:48:21 2007 +0100 (2007-06-01)
branchtrunk
changeset 736 1bc4c47e4ad8
parent 675 4c7f6a9bfded
permissions -rwxr-xr-x
[svn r742] * GMyth-Streamer
- mencoder's tv test ;-)
rosfran@593
     1
#!/usr/bin/python
rosfran@593
     2
rosfran@593
     3
#doc: test gmyth_recorder_* methods
rosfran@593
     4
rosfran@593
     5
from testing_tools import start, finish
rosfran@593
     6
import sys
rosfran@675
     7
from utils import TestConfigFile
rosfran@593
     8
rosfran@675
     9
cfg_file = TestConfigFile('test_scripts.cfg')
rosfran@675
    10
rosfran@677
    11
p = start('gmyth_test_recorder',["myth://%s:%s/livetv?channel=%s" % (cfg_file.get_host(), \
rosfran@677
    12
        cfg_file.get_port(), cfg_file.get_tv_channel())], 2)
rosfran@593
    13
rosfran@593
    14
sys.exit(finish(p))
rosfran@675
    15