Esempio n. 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."
Esempio n. 2
0
 def tearDown(self):
     self.manager.close()
     smock.cleanup()
     conf_from_dict({})
Esempio n. 3
0
 def tearDown(self):
     self.client.graceful_stop(DEFAULT_TIMEOUT)
     smock.cleanup()
     conf_from_dict({})