Removed deprecated method
This method was moved to neutron-lib No projects currently use this so its safe to blow it away. NeutronLibImpact Change-Id: Ibf58da7f18cc89cc186e5e8e0af8ef089d576e75
This commit is contained in:
parent
d78903dd60
commit
ea517a0d45
|
@ -309,12 +309,6 @@ class DelayedStringRenderer(object):
|
|||
return str(self.function(*self.args, **self.kwargs))
|
||||
|
||||
|
||||
@removals.remove(
|
||||
message="Use camelize from neutron_lib.utils.helpers")
|
||||
def camelize(s):
|
||||
return helpers.camelize(s)
|
||||
|
||||
|
||||
@removals.remove(
|
||||
message="Use round_val from neutron_lib.utils.helpers")
|
||||
def round_val(val):
|
||||
|
|
|
@ -622,17 +622,6 @@ class TestDelayedStringRenderer(base.BaseTestCase):
|
|||
self.assertTrue(my_func.called)
|
||||
|
||||
|
||||
class TestCamelize(base.BaseTestCase):
|
||||
def test_camelize(self):
|
||||
data = {'bandwidth_limit': 'BandwidthLimit',
|
||||
'test': 'Test',
|
||||
'some__more__dashes': 'SomeMoreDashes',
|
||||
'a_penguin_walks_into_a_bar': 'APenguinWalksIntoABar'}
|
||||
|
||||
for s, expected in data.items():
|
||||
self.assertEqual(expected, utils.camelize(s))
|
||||
|
||||
|
||||
class TestRoundVal(base.BaseTestCase):
|
||||
def test_round_val_ok(self):
|
||||
for expected, value in ((0, 0),
|
||||
|
|
Loading…
Reference in New Issue