# Path: pysecure/test/test_base.py
# def connect_sftp_test(sftp_cb):
#     print("Connecting SFTP with key: %s" % (key_filepath))
#     auth_cb = get_key_auth_cb(key_filepath)
#     connect_sftp_with_cb(sftp_cb, user, host, auth_cb, verbosity=verbosity)


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


class SftpRecurseTest(TestCase):
    def __sftp_cb(self, ssh, sftp):
        def dir_cb(path, full_path, entry):
#            print("DIR: %s" % (full_path))
            pass

        def listing_cb(path, list_):
#            print("[%s]: (%d) files" % (path, len(list_)))
            pass

        sftp.recurse('Pictures', dir_cb, listing_cb)

    def test_sftp_recurse(self):

# Path: pysecure/test/test_base.py
# def connect_sftp_test(sftp_cb):
#     print("Connecting SFTP with key: %s" % (key_filepath))
#     auth_cb = get_key_auth_cb(key_filepath)
#     connect_sftp_with_cb(sftp_cb, user, host, auth_cb, verbosity=verbosity)


# Path: pysecure/test/sftp_recurse.py
from unittest import TestCase
from pysecure.test.test_base import connect_sftp_test



class SftpRecurseTest(TestCase):
    def __sftp_cb(self, ssh, sftp):
        def dir_cb(path, full_path, entry):
#            print("DIR: %s" % (full_path))
            pass

        def listing_cb(path, list_):
#            print("[%s]: (%d) files" % (path, len(list_)))
            pass

        sftp.recurse('Pictures', dir_cb, listing_cb)

    def test_sftp_recurse(self):

        connect_sftp_test(self.__sftp_cb)