mox3 doesn't pass tests with Python 3.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
heat-cfntools |
Fix Released
|
Medium
|
Unassigned | ||
python-mox3 |
Confirmed
|
High
|
Doug Hellmann |
Bug Description
First of all, sorry for assigning this to heat-cfntools. However, the mox3 module was not listed. In case mox3 has a different issue tracking, let me know, on PyPI, all I get is that it is part of OpenStack project. I've chosen heat-cfntools as it uses mox3 for tests.
https:/
There's also a link in CONTRIBUTING.md:
https:/
I'm trying to package mox3 for Fedora. When I run the tests in mox3 0.7.0, I get this exception:
+ PYTHON=
+ /usr/bin/python3 setup.py testr --slowest
running testr
running=
running=
running=
running=
running=
=======
FAIL: mox3.tests.
tags: worker-1
-------
Traceback (most recent call last):
File "/builddir/
mock_
File "/builddir/
self.
File "/builddir/
% (' '.join(
AttributeError: No values given for arguments: self
Expecting a string b'2014-12-16 20:42:25.441886Z'
error: testr failed (3)
description: | updated |
description: | updated |
affects: | heat-cfntools → openstack-ci |
affects: | openstack-ci → heat-cfntools |
Changed in heat-cfntools: | |
importance: | Undecided → Medium |
milestone: | none → v1.3.0 |
Changed in heat-cfntools: | |
status: | Fix Committed → Fix Released |
no longer affects: | oslotest |
Changed in python-mox3: | |
status: | In Progress → Fix Committed |
So, this is caused by inspect.ismethod() returning false even on methods.