From 488d85f9816679f73b369ae4bce19c2834d07cfe Mon Sep 17 00:00:00 2001 From: Scott Maxwell Date: Thu, 31 Oct 2013 10:03:38 -0700 Subject: [PATCH] Setup so we can run test_sftp_big independently --- tests/test_sftp_big.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_sftp_big.py b/tests/test_sftp_big.py index 20bf007..379bfe1 100644 --- a/tests/test_sftp_big.py +++ b/tests/test_sftp_big.py @@ -384,3 +384,10 @@ class BigSFTPTest (unittest.TestCase): finally: sftp.remove('%s/hongry.txt' % FOLDER) t.packetizer.REKEY_BYTES = pow(2, 30) + + +if __name__ == '__main__': + from tests.test_sftp import SFTPTest + SFTPTest.init_loopback() + from unittest import main + main()