summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/__init__.py8
-rw-r--r--tests/test_util.py40
2 files changed, 24 insertions, 24 deletions
diff --git a/paramiko/__init__.py b/paramiko/__init__.py
index afc62ee7..6bd8b38f 100644
--- a/paramiko/__init__.py
+++ b/paramiko/__init__.py
@@ -36,13 +36,13 @@ from paramiko.channel import (
ChannelStdinFile,
)
from paramiko.ssh_exception import (
- SSHException,
- PasswordRequiredException,
+ AuthenticationException,
BadAuthenticationType,
- ChannelException,
BadHostKeyException,
- AuthenticationException,
+ ChannelException,
+ PasswordRequiredException,
ProxyCommandFailure,
+ SSHException,
)
from paramiko.server import ServerInterface, SubsystemHandler, InteractiveQuery
from paramiko.rsakey import RSAKey
diff --git a/tests/test_util.py b/tests/test_util.py
index 0cc9b220..7849fec3 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -48,38 +48,38 @@ class UtilTest(unittest.TestCase):
verify that all the classes can be imported from paramiko.
"""
symbols = paramiko.__all__
- self.assertTrue("Transport" in symbols)
- self.assertTrue("SSHClient" in symbols)
- self.assertTrue("MissingHostKeyPolicy" in symbols)
+ self.assertTrue("Agent" in symbols)
+ self.assertTrue("AgentKey" in symbols)
+ self.assertTrue("AuthenticationException" in symbols)
self.assertTrue("AutoAddPolicy" in symbols)
- self.assertTrue("RejectPolicy" in symbols)
- self.assertTrue("WarningPolicy" in symbols)
- self.assertTrue("SecurityOptions" in symbols)
- self.assertTrue("SubsystemHandler" in symbols)
+ self.assertTrue("BadAuthenticationType" in symbols)
+ self.assertTrue("BufferedFile" in symbols)
self.assertTrue("Channel" in symbols)
- self.assertTrue("RSAKey" in symbols)
+ self.assertTrue("ChannelException" in symbols)
self.assertTrue("DSSKey" in symbols)
+ self.assertTrue("HostKeys" in symbols)
self.assertTrue("Message" in symbols)
- self.assertTrue("SSHException" in symbols)
- self.assertTrue("AuthenticationException" in symbols)
+ self.assertTrue("MissingHostKeyPolicy" in symbols)
self.assertTrue("PasswordRequiredException" in symbols)
- self.assertTrue("BadAuthenticationType" in symbols)
- self.assertTrue("ChannelException" in symbols)
+ self.assertTrue("RSAKey" in symbols)
+ self.assertTrue("RejectPolicy" in symbols)
self.assertTrue("SFTP" in symbols)
+ self.assertTrue("SFTPAttributes" in symbols)
+ self.assertTrue("SFTPClient" in symbols)
+ self.assertTrue("SFTPError" in symbols)
self.assertTrue("SFTPFile" in symbols)
self.assertTrue("SFTPHandle" in symbols)
- self.assertTrue("SFTPClient" in symbols)
self.assertTrue("SFTPServer" in symbols)
- self.assertTrue("SFTPError" in symbols)
- self.assertTrue("SFTPAttributes" in symbols)
self.assertTrue("SFTPServerInterface" in symbols)
- self.assertTrue("ServerInterface" in symbols)
- self.assertTrue("BufferedFile" in symbols)
- self.assertTrue("Agent" in symbols)
- self.assertTrue("AgentKey" in symbols)
- self.assertTrue("HostKeys" in symbols)
+ self.assertTrue("SSHClient" in symbols)
self.assertTrue("SSHConfig" in symbols)
self.assertTrue("SSHConfigDict" in symbols)
+ self.assertTrue("SSHException" in symbols)
+ self.assertTrue("SecurityOptions" in symbols)
+ self.assertTrue("ServerInterface" in symbols)
+ self.assertTrue("SubsystemHandler" in symbols)
+ self.assertTrue("Transport" in symbols)
+ self.assertTrue("WarningPolicy" in symbols)
self.assertTrue("util" in symbols)
def test_generate_key_bytes(self):