27ed826 ipatests: test_commands: test_ssh_from_controller: refactor

Authored and Committed by François Cami 3 years ago
    ipatests: test_commands: test_ssh_from_controller: refactor
    
    test_ssh_from_controller does not use methods provided by tasks.py.
    Refactor using those methods.
    
    Related: https://pagure.io/freeipa/issue/8129
    Signed-off-by: François Cami <fcami@redhat.com>
    
    Signed-off-by: François Cami <fcami@redhat.com>
    Reviewed-By: Mohammad Rizwan <myusuf@redhat.com>
    Reviewed-By: Michal Polovka <mpolovka@redhat.com>