r46982 - fix up
hawkowl-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Thu, 10 Mar 2016 23:40:09 -0700 (MST)
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: hawkowl
Date: Thu Mar 10 23:40:02 2016
New Revision: 46982
Modified:
branches/manhole-hardcodedkey-8229/twisted/conch/test/test_recvline.py
Log:
fix up
Modified: branches/manhole-hardcodedkey-8229/twisted/conch/test/test_recvline.py
==============================================================================
--- branches/manhole-hardcodedkey-8229/twisted/conch/test/test_recvline.py (original)
+++ branches/manhole-hardcodedkey-8229/twisted/conch/test/test_recvline.py Thu Mar 10 23:40:02 2016
@@ -13,7 +13,7 @@
from twisted.conch.insults import insults
from twisted.conch import recvline
-from twisted.python import reflect, components
+from twisted.python import reflect, components, filepath
from twisted.internet import defer, error
from twisted.trial import unittest
from twisted.cred import portal
@@ -471,7 +471,8 @@
[checkers.InMemoryUsernamePasswordDatabaseDontUse(**{u: p})])
sshFactory = ConchFactory(ptl)
- sshKey = keys._getPersistentRSAKey(self.mktemp(), keySize=512)
+ sshKey = keys._getPersistentRSAKey(filepath.FilePath(self.mktemp()),
+ keySize=512)
sshFactory.publicKeys["ssh-rsa"] = sshKey
sshFactory.privateKeys["ssh-rsa"] = sshKey