[simulation mode] implement mock context manager
Context manager is responsible for providing a valid context with
corresponding attributes and functions for the current object.
Modified context manager will be used for mock implementation. It will be
inherited from the original one and will be called ``MockContextMa
It will store instructions which objects or classes are needed to be
replaced with mocks and return context with mock definition instead of the
original function. For that purpose several dictionaries should be used:
one for mapping objects with mocks and other one for class mapping.
Blueprint information
- Status:
- Started
- Approver:
- Serg Melikyan
- Priority:
- Medium
- Drafter:
- Ekaterina Chernova
- Direction:
- Needs approval
- Assignee:
- Ekaterina Chernova
- Definition:
- New
- Series goal:
- Accepted for mitaka
- Implementation:
- Started
- Milestone target:
- mitaka-3
- Started by
- Ekaterina Chernova
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add OneOf smart type
Addressed by: https:/
Add MockContextManager
Addressed by: https:/
[mocking-
Work Items
Dependency tree
* Blueprints in grey have been implemented.