Replace usage of mox with the mock library

Registered by Jay Dobies on 2015-10-09

Tracks the replacement of mox in unit tests with the mock library.

Blueprint information

Status:
Not started
Approver:
Sergey Kraynev
Priority:
Undefined
Drafter:
Jay Dobies
Direction:
Needs approval
Assignee:
None
Definition:
Pending Approval
Series goal:
None
Implementation:
Unknown
Milestone target:
milestone icon next

Related branches

Sprints

Whiteboard

I'll be tracking the progress on the etherpad:
https://etherpad.openstack.org/p/heat-mox-to-mock

Gerrit topic: https://review.openstack.org/#q,topic:bp/mox-to-mock-conversion,n,z

Addressed by: https://review.openstack.org/234277
    Replaced mox with mock in test_watch

Addressed by: https://review.openstack.org/234966
    Replaced mox with mock in test_metadata_refresh

Addressed by: https://review.openstack.org/235590
    Replaced mox usage with mock in test_swift

Addressed by: https://review.openstack.org/238103
    Convert from mox to mock in test_signal

Gerrit topic: https://review.openstack.org/#q,topic:bug/1514680,n,z

Addressed by: https://review.openstack.org/287834
    [WIP]Resolve name/id using translation rules for Server

Addressed by: https://review.openstack.org/360505
    Replaced mox.stubs usage with mock in test_wsgi

Addressed by: https://review.openstack.org/360986
    Delete mox.stubs in heat

Addressed by: https://review.openstack.org/385791
    Replaced mox with mock in test_sqlalchemy_api.py

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.