示例#1
0
 def setUp(self):
     self.pre = self.assertTrue
     self.threat = Reports.get_asylum_thread()
     self.msglist = MsgListModel(self.threat['msgs'])
示例#2
0
 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")
示例#3
0
 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