diff options
author | mike <michael.jmontcalm@gmail.com> | 2009-10-19 04:38:32 (GMT) |
---|---|---|
committer | mike <michael.jmontcalm@gmail.com> | 2009-10-19 04:38:32 (GMT) |
commit | 6584510d390a37153c20974da6704a907058fea0 (patch) | |
tree | a0649a77b36b63885774e0af25ec752192a5c404 /tests/filterstests.py | |
parent | 2aef185e57f6c6c38670a5eea74f7889b3d56944 (diff) | |
parent | 3b9bff2ef1826987d95815ff03c235052cea9aae (diff) |
Merge gitorious@git.sugarlabs.org:tutorius/michaeljm-dev into merge_michaeljm-dev
Diffstat (limited to 'tests/filterstests.py')
-rw-r--r-- | tests/filterstests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/filterstests.py b/tests/filterstests.py index 3e79bcc..c45f924 100644 --- a/tests/filterstests.py +++ b/tests/filterstests.py @@ -26,7 +26,7 @@ import time import gobject import gtk -from sugar.tutorius.filters import EventFilter, TimerEvent, GtkWidgetTypeFilter +from sugar.tutorius.filters import EventFilter from sugar.tutorius import addon from gtkutilstests import SignalCatcher @@ -79,7 +79,7 @@ class TestTimerEvent(unittest.TestCase): ctx = gobject.MainContext() main = gobject.MainLoop(ctx) - e = TimerEvent("Next",1) #1 second should be enough :s + e = addon.create('TimerEvent', "Next", 2) # 2 seconds should be enough :s s = SignalCatcher() e.install_handlers(s.callback) @@ -122,7 +122,7 @@ class TestTimerEvent(unittest.TestCase): ctx = gobject.MainContext() main = gobject.MainLoop(ctx) - e = TimerEvent("Next",1) #1 second should be enough :s + e = addon.create('TimerEvent', "Next", 2) # 2 seconds should be enough :s s = SignalCatcher() e.install_handlers(s.callback) |