waft.framework_unit_tests.test_system.test_clients.test_client module¶
This module contains tests for the frameworks node client. Yes they test the test framework
- waft.framework_unit_tests.test_system.test_clients.test_client.local_test_file_path() Path ¶
Return path to local test file
- waft.framework_unit_tests.test_system.test_clients.test_client.remote_test_file_path(waft: Waft) PurePath ¶
Return path to test file on remote machine
- waft.framework_unit_tests.test_system.test_clients.test_client.system_client(system: SystemActions) ClientBase ¶
Return SSH client connected to the remote machine
- waft.framework_unit_tests.test_system.test_clients.test_client.test_client_command(system_client: ClientBase)¶
This is a simple test that we’re sending ssh commands to the remote system. We create a directory with a unique name in one ssh command, in another we check to see that it exists.
- waft.framework_unit_tests.test_system.test_clients.test_client.test_client_command_raises_exception_by_default(system_client: ClientBase)¶
Test that when an ssh command fails it returns a non zero status
- waft.framework_unit_tests.test_system.test_clients.test_client.test_client_command_returns_non_zero_on_failure(system_client: ClientBase)¶
Test that when an ssh command fails it returns a non zero status
- waft.framework_unit_tests.test_system.test_clients.test_client.test_file_get(system_client: ClientBase, remote_test_file_path: PurePath, local_test_file_path: Path)¶
Test transferring file from remote machine to machine running WAFT
- waft.framework_unit_tests.test_system.test_clients.test_client.test_file_send(system_client: ClientBase, remote_test_file_path: PurePath, local_test_file_path: Path)¶
Test transferring file from machine running WAFT to remote machine