diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-03-26 00:40:43 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-03-26 00:40:43 +0000 |
| commit | 7e931247164eeb0e9044ce9e5350ff06c0bea30c (patch) | |
| tree | 0d5391ca8441a7aa9bb9a3560f8d8a390c2ebd3c /tests/test_timer.py | |
| parent | 283c17a74cf11f40b822807f2d9f52644136c749 (diff) | |
| download | enigma2-7e931247164eeb0e9044ce9e5350ff06c0bea30c.tar.gz enigma2-7e931247164eeb0e9044ce9e5350ff06c0bea30c.zip | |
add some more hacks, add test timer
Diffstat (limited to 'tests/test_timer.py')
| -rw-r--r-- | tests/test_timer.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/test_timer.py b/tests/test_timer.py index e1672e72..4745030a 100644 --- a/tests/test_timer.py +++ b/tests/test_timer.py @@ -4,6 +4,25 @@ import RecordTimer t = RecordTimer.RecordTimer() +# generate a timer to test +import xml.dom.minidom + +timer = RecordTimer.createTimer(xml.dom.minidom.parseString( +""" + <timer + begin="10" + end="200" + serviceref="1:0:1:6DD2:44D:1:C00000:0:0:0:" + repeated="0" + name="Test Event Name" + description="Test Event Description" + afterevent="nothing" + eit="56422" + disabled="0" + justplay="0"> +</timer>""").childNodes[0]) + +t.record(timer) # run virtual environment enigma.run() |
