From 7e931247164eeb0e9044ce9e5350ff06c0bea30c Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 26 Mar 2007 00:40:43 +0000 Subject: add some more hacks, add test timer --- tests/test_timer.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'tests/test_timer.py') 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( +""" + +""").childNodes[0]) + +t.record(timer) # run virtual environment enigma.run() -- cgit v1.2.3