def test_drop_off_processes_all_hosts(self): drop_off() self.assertEqual(map(call, self.fake_hosts), self.process_host.mock_calls)
def test_drop_off_flushes_buffer(self): drop_off() self.flush_buffer.assert_called_once_with()
def test_drop_off_lists_buffer_hosts(self): drop_off() self.list_buffer_hosts.assert_called_once_with()
def main(): drop_off()