Skip to content

Commit b9a2928

Browse files
committed
Fix broken test not unpacking correct number of return values
Signed-off-by: Justin Israel <[email protected]>
1 parent d6a5d40 commit b9a2928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_connection_refused(self):
2424
# The following tests take 3 seconds each, due to Rabbit.
2525
def test_wrong_user(self):
2626
(username, password, vhost, host, port) = \
27-
puka.connection.parse_amqp_url(self.amqp_url)
27+
puka.connection.parse_amqp_url(self.amqp_url)[:5]
2828

2929
client = puka.Client('amqp://%s:%s@%s:%s%s' % \
3030
(username, 'wrongpass', host, port, vhost))

0 commit comments

Comments
 (0)