Skip to content

Commit

Permalink
Tests: Remove unused rbd mock_driver_configuration
Browse files Browse the repository at this point in the history
This is unused as of f33bacc.

Change-Id: Id48da546d43e769ebf6ca71a38d9b03ca6167f7e
  • Loading branch information
eharney committed Nov 19, 2019
1 parent 6b0624f commit fc76367
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cinder/tests/unit/volume/drivers/test_rbd.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,6 @@ def __call__(self, value):
return getattr(self, value, self._default)


def mock_driver_configuration(value):
if value == 'max_over_subscription_ratio':
return 1.0
if value == 'reserved_percentage':
return 0
return 'RBD'


@ddt.ddt
class RBDTestCase(test.TestCase):

Expand Down

0 comments on commit fc76367

Please sign in to comment.