No functional changes.

Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/tests/unit/ofproto/test_parser_compat.py | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/ryu/tests/unit/ofproto/test_parser_compat.py 
b/ryu/tests/unit/ofproto/test_parser_compat.py
index 2e2e85e..7ebdf98 100644
--- a/ryu/tests/unit/ofproto/test_parser_compat.py
+++ b/ryu/tests/unit/ofproto/test_parser_compat.py
@@ -139,18 +139,18 @@ def _add_tests():
 
     ofpps = [ofproto_v1_2_parser, ofproto_v1_3_parser]
     for ofpp in ofpps:
-                        mod = ofpp.__name__.split('.')[-1]
-                        method_name = 'test_' + mod + '_ofpmatch_compat'
-
-                        def _run(self, name, ofpp):
-                            print('processing %s ...' % name)
-                            self._test(name, ofpp)
-                        print('adding %s ...' % method_name)
-                        f = functools.partial(_run, name=method_name,
-                                              ofpp=ofpp)
-                        f.func_name = method_name
-                        f.__name__ = method_name
-                        cls = Test_Parser_Compat
-                        setattr(cls, method_name, f)
+        mod = ofpp.__name__.split('.')[-1]
+        method_name = 'test_' + mod + '_ofpmatch_compat'
+
+        def _run(self, name, ofpp):
+            print('processing %s ...' % name)
+            self._test(name, ofpp)
+        print('adding %s ...' % method_name)
+        f = functools.partial(_run, name=method_name,
+                              ofpp=ofpp)
+        f.func_name = method_name
+        f.__name__ = method_name
+        cls = Test_Parser_Compat
+        setattr(cls, method_name, f)
 
 _add_tests()
-- 
2.2.1


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to