test: fix integration tests: reflects 978f3e5c

File "/home/openflow/git/osrg/ryu/ryu/tests/integrated/tester.py", line 167, in TestFlowBase
    @handler.set_ev_cls(dpset.EventDP, dpset.DPSET_EV_DISPATCHER)
AttributeError: 'module' object has no attribute 'DPSET_EV_DISPATCHER'

Signed-off-by: HIYAMA Manabu <hiyama.manabu@po.ntts.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
HIYAMA Manabu 2013-02-06 14:02:11 +09:00 committed by FUJITA Tomonori
parent c268793005
commit e97b724591

View File

@ -164,7 +164,7 @@ class TestFlowBase(app_manager.RyuApp):
self.results[self.current] = result
self.start_next_test(dp)
@handler.set_ev_cls(dpset.EventDP, dpset.DPSET_EV_DISPATCHER)
@handler.set_ev_cls(dpset.EventDP)
def handler_datapath(self, ev):
if ev.enter:
self.start_next_test(ev.dp)