15. rv_setup module

A setup test to perform the preliminary actions that are required for the rest of the tests.

15.1. Actions on the client

  • Installs dogtail.
  • Performs required setup to get dogtail tests to work.
  • Puts the dogtail scripts onto the client VM.
rv_setup.deploy_tests_linux(vm, cfg)

Moves the dogtail tests to a vm

Note

Steps are:

  • Create tests.zip from all tests
  • Copy tests.zip to client VM
  • Disable gconfd
  • Enable accessiblity
Parameters:
  • vm – a VM
  • params – dictionary of paramaters
rv_setup.run_rv_setup(test, params, env)

Setup the VMs for remote-viewer testing

@param test: QEMU test object. @param params: Dictionary with the test parameters. @param env: Dictionary with test environment.

rv_setup.setup_gui_linux(vm, params, env)

Setup the vm for GUI testing, install dogtail & move tests over.

Parameters:
  • vm – a VM
  • params – dictionary of test paramaters
rv_setup.setup_vm(test, params, env, vm)
rv_setup.setup_vm_linux(test, params, env, vm)
rv_setup.setup_vm_windows(test, params, env, vm)