19. smartcard_setup module

smartcard_setup.py - Used as a setup test for smartcard tests.

Before doing a remote viewer connection there is some setup required for smartcard tests:

On the client, certs that will be put into the smartcard will need to be generated.

smartcard_setup.run_smartcard_setup(test, params, env)

Simple setup test to create certs on the client to be passed to VM’s smartcard.

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