def setUp(self): self.pre = self.assertTrue self.threat = Reports.get_asylum_thread() self.msglist = MsgListModel(self.threat['msgs'])
def setUp(self): self.obj_thread = ThreadModel(Reports.get_asylum_thread()) self.obj_thread.set_answers(59) self.mock_listener = mock() self.db = MongoDB() self.db.query("labsk_merge")
def setUp(self): self.processthread = ProcessThread() self.t01 = ThreadModel(Reports.get_asylum_thread()) self.t02 = ThreadModel(Reports.get_asylum_thread()) self.listener = mock() self.processthread.listener = self.listener