From 3a0486e532f22af0d3c8a5c5d78613c22e786ff6 Mon Sep 17 00:00:00 2001 From: Sivasathurappan Radhakrishnan Date: Fri, 4 Dec 2015 17:43:00 +0000 Subject: [PATCH] Deleted comment about part power in FakeRing Deleted comment about parameter part power in Class FakeRing as its behavior got dropped in I8bfc388a04eff6491038991cdfd7686c9d961545. Change-Id: Iec7d2565a77e48493b0056021066d8d8eab65d0b Closes-Bug: #1488704 --- test/unit/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/unit/__init__.py b/test/unit/__init__.py index ec6a2a0985..6834eebfc5 100644 --- a/test/unit/__init__.py +++ b/test/unit/__init__.py @@ -203,13 +203,6 @@ class FakeRing(Ring): def __init__(self, replicas=3, max_more_nodes=0, part_power=0, base_port=1000): - """ - :param part_power: make part calculation based on the path - - If you set a part_power when you setup your FakeRing the parts you get - out of ring methods will actually be based on the path - otherwise we - exercise the real ring code, but ignore the result and return 1. - """ self._base_port = base_port self.max_more_nodes = max_more_nodes self._part_shift = 32 - part_power