]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Python 3: fix test_utils
authorCyril Roelandt <cyril@redhat.com>
Fri, 14 Aug 2015 12:40:51 +0000 (14:40 +0200)
committerCyril Roelandt <cyril@redhat.com>
Tue, 18 Aug 2015 13:13:18 +0000 (15:13 +0200)
commit5afd046d53fd6cca4ad8b28ed37586f9d352a315
tree54c6c0dcf615377e5f75c66bc10f682f4196dfb3
parent737d853c195afa7d8f359f3e57da1a3bc8a9e76b
Python 3: fix test_utils

In Python 3, the error message returned when unpacking too many values is a bit
different from the one we see in Python 2:

Python 2:
  ValueError: too many values to unpack

Python 3:
  ValueError: too many values to unpack (expected <number of values>)

Blueprint: neutron-python3
Change-Id: Ib607a526c007567a370c521fd7e2e4f8b504b934
neutron/common/utils.py
neutron/tests/unit/common/test_utils.py
tox.ini