summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_channelfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_channelfile.py b/tests/test_channelfile.py
index f8cfe473..6faf8bf8 100644
--- a/tests/test_channelfile.py
+++ b/tests/test_channelfile.py
@@ -1,6 +1,6 @@
from mock import patch, MagicMock
-from paramiko import Channel, ChannelFile
+from paramiko import Channel, ChannelFile, ChannelStderrFile
class TestChannelFile(object):
@@ -27,7 +27,7 @@ class TestChannelFile(object):
chan.sendall.assert_called_once_with(b"ohai")
-def TestChannelStderrFile(object):
+class TestChannelStderrFile(object):
def test_read_calls_channel_recv_stderr(self):
chan = MagicMock()
cf = ChannelStderrFile(chan)