From 7c01bdb8ba91f8baead830a0cd16fafa02d6124a Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Sat, 16 Dec 2017 04:40:18 +0900 Subject: [PATCH] Remove a workaround for osc-lib in FWaaS UT The issue was fixed in osc-lib 1.8.0 and the workaround in neutronclient UT is no longer needed. This commit drops it. Change-Id: I4a8f5c2d172ead3e2c40d2a8f5286aa60a73be72 Closes-Bug: #1738430 --- neutronclient/tests/unit/osc/v2/fwaas/test_firewallrule.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/neutronclient/tests/unit/osc/v2/fwaas/test_firewallrule.py b/neutronclient/tests/unit/osc/v2/fwaas/test_firewallrule.py index e38306ed3..a512f3b3f 100644 --- a/neutronclient/tests/unit/osc/v2/fwaas/test_firewallrule.py +++ b/neutronclient/tests/unit/osc/v2/fwaas/test_firewallrule.py @@ -48,11 +48,6 @@ def _generate_data(ordered_dict=None, data=None): def _replace_display_columns(key, val): - # TODO(amotoki): This is required because of the logic of - # osc_lib.utils.get_dict_properties(). - # It needs to be fixed in osc-lib first. - if val is None: - return val if key == 'protocol': return firewallrule.ProtocolColumn(val) return val