stop inheriting RyuApp class to make the implementation of
other tests (tests.cmd.test_manager) easiler.
this module is for packet_in_filter decorator and does not
start ryu app anyway.

Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/tests/unit/lib/test_ofp_pktinfilter.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/ryu/tests/unit/lib/test_ofp_pktinfilter.py 
b/ryu/tests/unit/lib/test_ofp_pktinfilter.py
index 6a77f05..61199f7 100644
--- a/ryu/tests/unit/lib/test_ofp_pktinfilter.py
+++ b/ryu/tests/unit/lib/test_ofp_pktinfilter.py
@@ -20,7 +20,6 @@ import logging
 
 from nose.tools import *
 
-from ryu.base import app_manager
 from ryu.controller import ofp_event
 from ryu.controller.handler import (
     set_ev_cls,
@@ -40,11 +39,7 @@ class _Datapath(object):
     ofproto_parser = ofproto_v1_3_parser
 
 
-class _PacketInFilterApp(app_manager.RyuApp):
-
-    def __init__(self, *args, **kwargs):
-        super(_PacketInFilterApp, self).__init__(*args, **kwargs)
-
+class _PacketInFilterApp(object):
     @set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_DISPATCHER)
     @packet_in_filter(RequiredTypeFilter, {'types': [
         vlan.vlan,
-- 
1.8.3.1


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to