mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix good_host_ports iteration
This commit is contained in:
parent
c5a5b34fc4
commit
de823fd3ae
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ class NetworkTestCase(TestCase):
|
|||
'2001:0db8:0370::7334]:1234',
|
||||
'2001:0db8:0370:0:a:b:c:d:1234'
|
||||
]
|
||||
for host_port, assertion_value in good_host_ports:
|
||||
for host_port, assertion_value in good_host_ports.items():
|
||||
host = port = e = None
|
||||
try:
|
||||
host, port = network.parse_host_port(host_port)
|
||||
|
|
Loading…
Add table
Reference in a new issue