Remove Use of mox/mox3 for Testing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watcher |
Fix Released
|
High
|
licanwei |
Bug Description
Mocking in unit tests in OpenStack started off using the mox package. Unfortunately, this package is no longer actively maintained and had its last update published to PyPi in August of 2010.
Due to this long period of inactivity, mox was never updated to add support for Python 3. To get around this, the oslo team has been maintaining a mox3 fork to support migration of consuming projects to Python 3. This was done as a short term solution to allow projects to migrate to the more supported mock package.
Most projects have adopted mock, but many still have some use of mox/mox3 in their tests. To get rid of mox, retire mox3, and provide a clean path to full Python 3 support, we need to finish moving all projects off of mox and update tests to use mock.
Link to the goal: https:/
I have found that watcher-dashboard uses mox for testing. We need to remove
this usage.
Changed in watcher: | |
status: | New → Triaged |
importance: | Undecided → Critical |
importance: | Critical → High |
Changed in watcher: | |
assignee: | nobody → licanwei (li-canwei2) |
Fix proposed to branch: master /review. openstack. org/559531
Review: https:/