Fixed some docs

This commit is contained in:
bjmb
2017-02-13 12:53:47 -05:00
parent 0c9cdb98f0
commit 1e3c90a867
2 changed files with 2 additions and 11 deletions

View File

@@ -526,7 +526,7 @@ class LoadBalancingPolicyTests(unittest.TestCase):
@since 3.8
@jira_ticket PYTHON-676
@expected_result the request are spread across the replicas,
when one of them is down, the requests target the avaiable one
when one of them is down, the requests target the available one
@test_category policy
"""
@@ -554,7 +554,7 @@ class LoadBalancingPolicyTests(unittest.TestCase):
@since 3.8
@jira_ticket PYTHON-676
@expected_result the request are spread across the replicas,
when one of them is down, the requests target the other avaiable ones
when one of them is down, the requests target the other available ones
@test_category policy
"""

View File

@@ -767,15 +767,6 @@ class TokenAwarePolicyTest(unittest.TestCase):
@patch('cassandra.policies.shuffle')
def _assert_shuffle(self, patched_shuffle, keyspace, routing_key):
"""
Test to validate the hosts are shuffled when the `shuffle_replicas` is truthy
@since 3.8
@jira_ticket PYTHON-676
@expected_result shuffle should be called when the `shuffle_replicas` is truthy
if the keyspace and the routing key are set
@test_category policy
"""
hosts = [Host(str(i), SimpleConvictionPolicy) for i in range(4)]
for host in hosts:
host.set_up()