py38 unit test failures
Bug #1857024 reported by
Corey Bryant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
murano has some py38 unit test failures. This can be tested with python 3.8 on ubuntu bionic. basepython may need to be updated to point directly to python3.8 in tox.ini.
Changed in murano: | |
status: | New → Fix Released |
To post a comment you must log in.
The following unit tests are failing for tox -e py38. This can be tested on ubuntu bionic.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.unit. common. test_wsgi. TestXMLDictSeri alizer. test_XML_ Dict_Serializer _create_ link_nodes tests.unit. common. test_wsgi. TestXMLDictSeri alizer. test_XML_ Dict_Serializer _create_ link_nodes ------- ------- ------- ------- ------- ------- ------- ------- ------- testresult. real._StringExc eption: Traceback (most recent call last): >>/murano/ tests/unit/ common/ test_wsgi. py", line 375, in test_XML_ Dict_Serializer _create_ link_nodes assertEqual( '<atom: link href="href" rel="rel" type="type"/>', python3/ dist-packages/ testtools/ testcase. py", line 411, in assertEqual assertThat( observed, matcher, message) python3/ dist-packages/ testtools/ testcase. py", line 498, in assertThat matchers. _impl.MismatchE rror: !=:
FAIL: murano.
murano.
-------
testtools.
File "/<<PKGBUILDDIR
self.
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
testtools.
reference = '<atom:link href="href" rel="rel" type="type"/>'
actual = '<atom:link rel="rel" href="href" type="type"/>'
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.unit. engine. test_package_ loader. TestCombinedPac kageLoader. test_export_ fixation_ table tests.unit. engine. test_package_ loader. TestCombinedPac kageLoader. test_export_ fixation_ table ------- ------- ------- ------- ------- ------- ------- ------- ------- testresult. real._StringExc eption: pythonlogging: 'murano' : {{{Loaded package from path /<<PKGBUILDDIR> >/murano/ tests/unit/ engine/ meta}}}
FAIL: murano.
murano.
-------
testtools.
Traceback (most recent call last): >>/murano/ tests/unit/ engine/ test_package_ loader. py", line 617, in test_export_ fixation_ table assertEqual( sorted( expected_ table.items( )), python3/ dist-packages/ testtools/ testcase. py", line 411, in assertEqual assertThat( observed, matcher, message) python3/ dist-packages/ testtools/ testcase. py", line 498, in assertThat matchers. _impl.MismatchE rror: !=:
File "/<<PKGBUILDDIR
self.
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
testtools.
reference = [('test_package_1', ['1.1.1']), ('test_package_2', ['2.2.2', '3.3.3'])]
actual = [('test_package_1', ['1.1.1']), ('test_package_2', ['3.3.3', '2.2.2'])]