# Path: pysecure/test/test_base.py
# def connect_ssh_test(ssh_cb):
#     print("Connecting SSH with key: %s" % (key_filepath))
#     auth_cb = get_key_auth_cb(key_filepath)
#     connect_ssh_with_cb(ssh_cb, user, host, auth_cb, verbosity=verbosity)


from unittest import TestCase
from pysecure.test.test_base import connect_ssh_test


class RemoteCommandTest(TestCase):
    def __ssh_cb(self, ssh):
        data = ssh.execute('lsb_release -a')
#        print(data)

        data = ssh.execute('whoami')
#        print(data)

    def test_remote_command(self):

# Path: pysecure/test/test_base.py
# def connect_ssh_test(ssh_cb):
#     print("Connecting SSH with key: %s" % (key_filepath))
#     auth_cb = get_key_auth_cb(key_filepath)
#     connect_ssh_with_cb(ssh_cb, user, host, auth_cb, verbosity=verbosity)


# Path: pysecure/test/remote_command.py
from unittest import TestCase
from pysecure.test.test_base import connect_ssh_test



class RemoteCommandTest(TestCase):
    def __ssh_cb(self, ssh):
        data = ssh.execute('lsb_release -a')
#        print(data)

        data = ssh.execute('whoami')
#        print(data)

    def test_remote_command(self):

        connect_ssh_test(self.__ssh_cb)