Beispiel #1
0
    def check_taglist(self):
        sync_lock.acquire_write()

        taglist = self.get_taglist()
        self.check_taglist_obj_links(taglist, config.vars["target_obj"])
        self.check_taglist_obj_links(taglist, config.vars["selected"])
        self.check_taglist_obj_links(taglist, taglist.first_sel)
        self.check_taglist_obj_links(taglist, taglist.first_story)

        sync_lock.release_write()
Beispiel #2
0
    def check_taglist(self):
        sync_lock.acquire_write()

        taglist = self.get_taglist()
        self.check_taglist_obj_links(taglist, config.vars["target_obj"])
        self.check_taglist_obj_links(taglist, config.vars["selected"])
        self.check_taglist_obj_links(taglist, taglist.first_sel)
        self.check_taglist_obj_links(taglist, taglist.first_story)

        sync_lock.release_write()
Beispiel #3
0
    def test_command(self, command, test_func, no_check=False):
        print("Issuing %s" % command)
        self.gui.issue_cmd(command)
        self.gui.release_gui()
        self.wait_on_update()

        sync_lock.acquire_write()
        if not no_check:
            self.check_taglist()
        if test_func:
            test_func()
        sync_lock.release_write()
Beispiel #4
0
    def test_command(self, command, test_func, no_check=False):
        print("Issuing %s" % command)
        self.gui.issue_cmd(command)
        self.gui.release_gui()
        self.wait_on_update()

        sync_lock.acquire_write()
        if not no_check:
            self.check_taglist()
        if test_func:
            test_func()
        sync_lock.release_write()