[svn r63887] move rest of events

--HG--
branch : trunk
This commit is contained in:
hpk
2009-04-09 02:12:10 +02:00
parent 2dd3ea7041
commit 0c4fc99a6f
14 changed files with 23 additions and 54 deletions

View File

@@ -198,15 +198,6 @@ class TestDSession:
session.loop_once(loopstate)
assert len(session.node2pending) == 1
def test_event_propagation(self, testdir):
item = testdir.getitem("def test_func(): pass")
session = DSession(item.config)
evrec = testdir.geteventrecorder(session.bus)
session.queueevent("NOP", 42)
session.loop_once(session._initloopstate([]))
assert evrec.getcall('NOP')
def runthrough(self, item):
session = DSession(item.config)
node = MockNode()