示例#1
0
    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
 def tearDown(self):
     self.manager.close()
     smock.cleanup()
     conf_from_dict({})
示例#3
0
 def tearDown(self):
     self.client.graceful_stop(DEFAULT_TIMEOUT)
     smock.cleanup()
     conf_from_dict({})