mox3 fails for context manager based mock testing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mox3 |
New
|
Undecided
|
Unassigned |
Bug Description
Apparently, we (OpenStack) own mox3 :) as our CI pushed the mox3 release into pypi.
It seems like the code is from Monty's repo:
https:/
There is no entries for mox3 in git.openstack.org or on launchpad....So i am logging the bug here for now.
Please see attached test case, based on code from here:
http://
I stumbled into this one when updating Nova to use mox3:
https:/
=======
FAIL: mox3.tests.
tags: worker-0
-------
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
with gzip.GzipFile(
AttributeError: __exit__
Ran 1 (-185) tests in 0.001s (-0.100s)
FAILED (id=1, failures=1 (-29))
error: testr failed (1)
affects: | openstack-ci → python-mox3 |