コード例 #1
0
ファイル: tests.py プロジェクト: GunioRobot/heroshi
    def tearDown(self):
        self.client.graceful_stop(DEFAULT_TIMEOUT)
        smock.cleanup()
        conf_from_dict({})

        assert self.used_run_crawler == True, \
                u"You supposed to run `self.run_crawler` in `RobotsTestCase` tests."
コード例 #2
0
ファイル: tests.py プロジェクト: GunioRobot/heroshi
 def tearDown(self):
     self.manager.close()
     smock.cleanup()
     conf_from_dict({})
コード例 #3
0
ファイル: tests.py プロジェクト: GunioRobot/heroshi
 def tearDown(self):
     self.client.graceful_stop(DEFAULT_TIMEOUT)
     smock.cleanup()
     conf_from_dict({})