示例#1
0
文件: test.py 项目: timofeic/bfbot
 def test_get_next_race(self):
     self.cardGenTime = 0
     self.race_list = None
     (self.race_list, self.cardGenTime) = gen_race_list(self.cardGenTime, self.race_list, self.bf_client)
     (self.exchangeId, self._marketId, self.race_queue, self.race_list) = get_next_race(self.race_list)
     self.assertIsNotNone(self._marketId)
示例#2
0
文件: test.py 项目: timofeic/bfbot
 def test_generate_race_card(self):
     self.cardGenTime = 0
     self.race_list = None
     (self.race_list, self.cardGenTime) = gen_race_list(self.cardGenTime, self.race_list, self.bf_client)
     self.assertIsNotNone(self.race_list)