Loads of unit test failures in Python 3.5: TestBackwardsCompatibility.test_set_no_default failed

Bug #1507010 reported by Thomas Goirand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-client-config
New
Undecided
Unassigned

Bug Description

When building the Debian package of version 1.6.0, the below unit test failed using Python 3.5. As Debian is soon switching to 3.5 in Sid (and of course, Ubuntu will follow), it'd be nice to fix this ASAP.

======================================================================
FAIL: os_client_config.tests.test_config.TestBackwardsCompatibility.test_set_no_default
os_client_config.tests.test_config.TestBackwardsCompatibility.test_set_no_default
----------------------------------------------------------------------
_StringException: Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "/home/zigo/sources/openstack/liberty/python-os-client-config/build-area/python-os-client-config-1.6.0/os_client_config/tests/test_config.py", line 298, in test_set_no_default
    self.assertEqual(expected, result)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = {'auth_type': 'v3password',
 'compute_interface': 'private',
 'identity_interface': 'admin',
 'interface': 'public'}
actual = {'auth_type': 'v3password',
 'compute_interface': 'private',
 'endpoint_type': 'public',
 'identity_interface': 'admin'}

Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

Woops, wrong title (because of my browser auto-completion). Only a single unit test failure, which isn't THAT bad ... :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.