Setup so we can run test_sftp_big independently

This commit is contained in:
Scott Maxwell 2013-10-31 10:03:38 -07:00
parent fcf56ff9f8
commit 488d85f981
1 changed files with 7 additions and 0 deletions

View File

@ -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()