예제 #1
0
    def test_drop_off_processes_all_hosts(self):
        drop_off()

        self.assertEqual(map(call, self.fake_hosts), self.process_host.mock_calls)
예제 #2
0
    def test_drop_off_flushes_buffer(self):
        drop_off()

        self.flush_buffer.assert_called_once_with()
예제 #3
0
    def test_drop_off_lists_buffer_hosts(self):
        drop_off()

        self.list_buffer_hosts.assert_called_once_with()
예제 #4
0
파일: drop_off.py 프로젝트: vdloo/messor
def main():
    drop_off()