Use class instances instead of cls objects

Registered by Boris Pavlovic

Currently we are using class objects and class methods instead of class instance and method of these instance.

So there is no reason to use class objects, so it is reasonable to switch to class instances. As bonuses:
1) __init__( ) method
2) much cleaner code
3) testing becomes simpler (especially mocking)

Blueprint information

Status:
Complete
Approver:
Boris Pavlovic
Priority:
Undefined
Drafter:
Boris Pavlovic
Direction:
Needs approval
Assignee:
Boris Pavlovic
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Boris Pavlovic
Completed by
Boris Pavlovic

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/refactor-scenarios-to-use-class-instances,n,z

Addressed by: https://review.openstack.org/68593
    Use cls instances instead of object in benchmarks

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.