Пример #1
0
    def tearDown(self):
        self.output_stream.close()
        self.output_logger._close()

        test_utils.cleanup()

        super().tearDown()
Пример #2
0
    def tearDown(self):
        super().tearDown()

        test_utils.cleanup()

        self.finish_process()
        self.executor.cleanup()
Пример #3
0
    def tearDown(self):
        self.output_stream.close()
        self.output_logger._close()

        test_utils.cleanup()

        super().tearDown()
Пример #4
0
    def test_no_config_folder(self):
        test_utils.cleanup()

        schedule_service = ScheduleService(self.config_service,
                                           self.execution_service,
                                           test_utils.temp_folder)
        self.assertEqual(schedule_service._scheduled_executions, {})
        self.assertEqual('1', schedule_service._id_generator.next_id())
Пример #5
0
    def tearDown(self):
        test_utils.cleanup()

        executions = self.executor_service.get_active_executions('userX')
        for execution_id in executions:
            try:
                self.executor_service.kill_script(execution_id)
                self.executor_service.cleanup_execution(execution_id)
            except:
                traceback.print_exc()
Пример #6
0
    def tearDown(self):
        test_utils.cleanup()

        executions = self.executor_service.get_active_executions('userX')
        for execution_id in executions:
            try:
                self.executor_service.kill_script(execution_id)
                self.executor_service.cleanup_execution(execution_id)
            except:
                traceback.print_exc()
    def tearDown(self) -> None:
        super().tearDown()

        test_utils.cleanup()

        date_utils._mocked_now = None

        self.schedule_service._stop()
        self.schedule_service.scheduling_thread.join()

        schedule_service._sleep = time.sleep

        self.patcher.stop()
Пример #8
0
    def tearDown(self) -> None:
        super().tearDown()

        io_loop = IOLoop.current()

        try:
            server._http_server.stop()
        except KeyError:
            for socket in server._http_server._sockets.values():
                socket.close()
            server._http_server._sockets.clear()

        self.kill_ioloop(io_loop)

        test_utils.cleanup()
Пример #9
0
 def tearDown(self):
     super().tearDown()
     test_utils.cleanup()
Пример #10
0
    def tearDown(self) -> None:
        test_utils.cleanup()

        executions = self.executor_service.get_active_executions('userX')
        for execution in executions:
            self.executor_service.kill_script(execution)
Пример #11
0
 def tearDown(self) -> None:
     super().tearDown()
     test_utils.cleanup()
     os_utils.reset_os()
 def tearDown(self) -> None:
     test_utils.cleanup()
 def tearDown(self):
     super().tearDown()
     test_utils.cleanup()
Пример #14
0
 def tearDown(self):
     test_utils.cleanup()
     self.storage._stop_autoclean()
    def tearDown(self):
        test_utils.cleanup()

        if os.path.exists(_UPLOADS_FOLDER):
            test_utils._rmtree(_UPLOADS_FOLDER)
Пример #16
0
    def tearDown(self):
        test_utils.cleanup()

        if os.path.exists(_UPLOADS_FOLDER):
            test_utils._rmtree(_UPLOADS_FOLDER)
Пример #17
0
 def tearDown(self):
     test_utils.cleanup()
Пример #18
0
 def tearDown(self):
     test_utils.cleanup()
     self.__storage._stop_autoclean()
    def tearDown(self) -> None:
        if self.socket:
            self.socket.close()

        super().tearDown()
        test_utils.cleanup()
Пример #20
0
    def tearDown(self):
        super().tearDown()
        test_utils.cleanup()

        httpclient.AsyncHTTPClient.configure(None)
Пример #21
0
    def tearDown(self):
        super().tearDown()
        test_utils.cleanup()

        for authenticator in authenticators:
            authenticator._cleanup()
Пример #22
0
    def tearDown(self) -> None:
        self.executor.process_wrapper.kill()

        test_utils.cleanup()
Пример #23
0
 def tearDown(self):
     test_utils.cleanup()
    def tearDown(self):
        super().tearDown()
        test_utils.cleanup()

        httpclient.AsyncHTTPClient.configure(None)