示例#1
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     greenhouse.scheduler.reset_poller(greenhouse.poller.Select())
示例#2
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     self._epoll = getattr(select, "epoll", None)
     self._poll = getattr(select, "poll", None)
     self._kqueue = getattr(select, "kqueue", None)
示例#3
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     greenhouse.scheduler.reset_poller(self.POLLER())
示例#4
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     self.fname = tempfile.mktemp()
     greenhouse.poller.set(greenhouse.poller.Select())
示例#5
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     greenhouse.poller.set(greenhouse.poller.Select())
示例#6
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     greenhouse.poller.set(self.POLLER())
示例#7
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     greenhouse.scheduler.reset_poller(greenhouse.poller.Select())
示例#8
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     greenhouse.poller.set(greenhouse.poller.KQueue())
示例#9
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     greenhouse.scheduler.reset_poller(self.POLLER())
示例#10
0
 def setUp(self):
     StateClearingTestCase.setUp(self)
     self._epoll = getattr(select, "epoll", None)
     self._poll = getattr(select, "poll", None)
     self._kqueue = getattr(select, "kqueue", None)