Fix broken test.

This commit is contained in:
Olle Lundberg 2013-02-28 12:36:03 +01:00
parent f41fc8fd28
commit 38767982cd
1 changed files with 4 additions and 4 deletions

View File

@ -229,16 +229,16 @@ Host equals-delimited
ProxyCommand should perform interpolation on the value ProxyCommand should perform interpolation on the value
""" """
config = paramiko.util.parse_ssh_config(cStringIO.StringIO(""" config = paramiko.util.parse_ssh_config(cStringIO.StringIO("""
Host *
Port 25
ProxyCommand host %h port %p
Host specific Host specific
Port 37 Port 37
ProxyCommand host %h port %p lol ProxyCommand host %h port %p lol
Host portonly Host portonly
Port 155 Port 155
Host *
Port 25
ProxyCommand host %h port %p
""")) """))
for host, val in ( for host, val in (
('foo.com', "host foo.com port 25"), ('foo.com', "host foo.com port 25"),