def _run_test(self, testcase_dict, variables={}):
        ''' guide the running case
        @param testcase_dice:  yaml case
        @param variables: dict type; this is defined the variables for the data-driven test
                            e.g.
                                default {} use to run case without data-driven
                                {"username":"test1","password":"123456"}
        '''
        if self._local_driver:
            self.run_test(testcase_dict, variables, self._default_drivers[0])
        else:
            self._drivers = []
            self._run_grid_multithread(partial(self.run_test, testcase_dict, variables), self._default_drivers)
def _run_test ( self , testcase_dict , variables = { } ) : if self . _local_driver : self . run_test ( testcase_dict , variables , self . _default_drivers [ 0 ] ) else : self . _drivers = [ ] self . _run_grid_multithread ( partial ( self . run_test , testcase_dict , variables ) , self . _default_drivers )
guide the running case
        @param testcase_dice:  yaml case
        @param variables: dict type; this is defined the variables for the data-driven test
                            e.g.
                                default {} use to run case without data-driven
                                {"username":"test1","password":"123456"}