Implement dangling mock detector for unittests

Registered by Petr Malik

Dangling mock objects in global modules (mocked members of imported
modules that never get restored) have been causing various transient
failures in the unit test suite.
This contribution is aiming to provide a simple transparent detection
layer that would help us prevent (most of) such issues.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Petr Malik
Direction:
Needs approval
Assignee:
Petr Malik
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Petr Malik

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:mock-leak-detector,n,z

Addressed by: https://review.openstack.org/176989
    Implement dangling mock detector for unittests

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.