chrome/test/enterprise/e2e/infra/chrome_ent_test_case.py
def RunWebDriverTest(self, instance_name, test_file, args=[]):
    """Runs a python webdriver test on an instance.

    Args:
      instance_name: name of the instance.
      test_file: the path of the webdriver test file.
      args: the list of arguments passed to the test.

    Returns:
      the output."""
    self.EnsurePythonInstalled(instance_name)

    # upload the test
    file_name = self.UploadFile(instance_name, test_file, r'c:\temp')

    # run the test
    args = subprocess.list2cmdline(args)
    cmd = r'%s %s %s' % (self._pythonExecutablePath[instance_name], file_name,
                         args)
    return self.RunCommand(instance_name, cmd)
Runs a python webdriver test on an instance.

    Args:
      instance_name: name of the instance.
      test_file: the path of the webdriver test file.
      args: the list of arguments passed to the test.

    Returns:
      the output.
Runs a python webdriver test on an instance.
Runs a python webdriver test on an instance .
def RunWebDriverTest(self, instance_name, test_file, args=[]):
    self.EnsurePythonInstalled(instance_name)
    file_name = self.UploadFile(instance_name, test_file, r'c:\temp')
    args = subprocess.list2cmdline(args)
    cmd = r'%s %s %s' % (self._pythonExecutablePath[instance_name], file_name,
                         args)
    return self.RunCommand(instance_name, cmd)
def RunWebDriverTest ( self , instance_name , test_file , args = [ ] ) : self . EnsurePythonInstalled ( instance_name ) file_name = self . UploadFile ( instance_name , test_file , r'c:\temp' ) args = subprocess . list2cmdline ( args ) cmd = r'%s %s %s' % ( self . _pythonExecutablePath [ instance_name ] , file_name , args ) return self . RunCommand ( instance_name , cmd )
Runs a python webdriver test on an instance.
Runs a python webdriver test on an instance .
"""Runs a python webdriver test on an instance.

    Args:
      instance_name: name of the instance.
      test_file: the path of the webdriver test file.
      args: the list of arguments passed to the test.

    Returns:
      the output.""" # upload the test # run the test
None
self
instance_name
name of the instance.
name of the instance .
test_file
the path of the webdriver test file.
the path of the webdriver test file .
args
the list of arguments passed to the test.
the list of arguments passed to the test .