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
This commit is contained in:
Akihiro Motoki
2017-12-16 04:40:18 +09:00
parent 50b5b29b1a
commit 7c01bdb8ba

View File

@@ -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