コード例 #1
0
 def tearDown(self):
     # cleanup task_self between tests to restore defaults
     task_cleanup()
コード例 #2
0
 def tearDown(self):
     """remove WorkerTree mock after each test"""
     task_cleanup()
     ClusterShell.Task.WorkerTree = WorkerTree
コード例 #3
0
 def tearDown(self):
     """cleanup all tasks"""
     task_cleanup()
コード例 #4
0
 def tearDown(self):
     """cleanup all tasks"""
     task_cleanup()
     sys.stdin = sys.__stdin__
コード例 #5
0
 def tearDown(self):
     """cleanup all tasks"""
     task_cleanup()
コード例 #6
0
 def tearDown(self):
     """cleanup all tasks"""
     task_cleanup()
     sys.stdin = sys.__stdin__
コード例 #7
0
ファイル: CLIClushTest.py プロジェクト: cea-hpc/clustershell
    def tearDown(self):
        """cleanup all tasks"""
        task_cleanup()

        # we played with fd_max: restore original nofile resource limits
        resource.setrlimit(resource.RLIMIT_NOFILE, (self.soft, self.hard))
コード例 #8
0
 def tearDown(self):
     """remove WorkerTree mock after each test"""
     task_cleanup()
     ClusterShell.Task.WorkerTree = WorkerTree
コード例 #9
0
ファイル: CLIClushTest.py プロジェクト: samkos/clustershell
    def tearDown(self):
        """cleanup all tasks"""
        task_cleanup()

        # we played with fd_max: restore original nofile resource limits
        resource.setrlimit(resource.RLIMIT_NOFILE, (self.soft, self.hard))