Beispiel #1
0
    def setUp(self):
        self.idlequeue_thread = IdleQueueThread()
        self.idlequeue_thread.start()

        self.iq = self.idlequeue_thread.iq
        self._reset()
        self.resolver = None
Beispiel #2
0
    def setUp(self):
        self.idlequeue_thread = IdleQueueThread()
        self.idlequeue_thread.start()
        self.main_context = GLib.MainContext()
        self.main_context.push_thread_default()
        self.main_loop = GLib.MainLoop(self.main_context)

        self.iq = self.idlequeue_thread.iq
        self._reset()
        self.resolver = None