summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorScott Maxwell <scott@codecobblers.com>2013-10-31 10:03:38 -0700
committerScott Maxwell <scott@codecobblers.com>2013-10-31 10:03:38 -0700
commit488d85f9816679f73b369ae4bce19c2834d07cfe (patch)
tree36a6827cfa09d749d6917a3865696bfd20a13eef /tests
parentfcf56ff9f85653e48db929b4a60460beabad24de (diff)
Setup so we can run test_sftp_big independently
Diffstat (limited to 'tests')
-rw-r--r--tests/test_sftp_big.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_sftp_big.py b/tests/test_sftp_big.py
index 20bf0075..379bfe12 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()