(self)
| 74 | is_shutdown = False |
| 75 | |
| 76 | def __init__(self): |
| 77 | self.metadata = MockMetadata() |
| 78 | self.added_hosts = [] |
| 79 | self.removed_hosts = [] |
| 80 | self.scheduler = Mock(spec=_Scheduler) |
| 81 | self.executor = Mock(spec=ThreadPoolExecutor) |
| 82 | self.profile_manager.profiles[EXEC_PROFILE_DEFAULT] = ExecutionProfile(RoundRobinPolicy()) |
| 83 | self.endpoint_factory = DefaultEndPointFactory().configure(self) |
| 84 | |
| 85 | def add_host(self, endpoint, datacenter, rack, signal=False, refresh_nodes=True): |
| 86 | host = Host(endpoint, SimpleConvictionPolicy, datacenter, rack) |
nothing calls this directly
no test coverage detected