Commit d9feb41c authored by Jérome Perrin's avatar Jérome Perrin

fixup! proftpd: instance test suite

parent c7d70861
...@@ -67,7 +67,7 @@ class TestSFTPFeature(utils.SlapOSInstanceTestCase): ...@@ -67,7 +67,7 @@ class TestSFTPFeature(utils.SlapOSInstanceTestCase):
cnopts=cnopts, cnopts=cnopts,
username=parameter_dict['user'], username=parameter_dict['user'],
password=parameter_dict['password']) as sftp: password=parameter_dict['password']) as sftp:
with tempfile.NamedTemporyFile() as f: with tempfile.NamedTemporaryFile() as f:
f.write("Hello FTP !") f.write("Hello FTP !")
f.close() f.close()
sftp.put(f.name) sftp.put(f.name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment