def test_conviction_policy_factory_is_callable(self):

        self.assertRaises(ValueError, Cluster, conviction_policy_factory=1)
Ensure that conviction_policy_factory are always callable
dataset/ETHPy150Open datastax/python-driver/tests/integration/standard/test_cluster.py/ClusterTests.test_conviction_policy_factory_is_callable