Add tests in test_db_api

Registered by Sergey Skripnick

Cover by tests methods from db.api

Blueprint information

Status:
Complete
Approver:
John Griffith
Priority:
Undefined
Drafter:
Sergey Skripnick
Direction:
Approved
Assignee:
Sergey Skripnick
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon ongoing
Started by
Thierry Carrez
Completed by
Sean McGinnis

Related branches

Sprints

Whiteboard

Groups of methods:

For now test coverage is 96%. Uncovered only some parts of helper functions, and some unlikely cases.

Gerrit topic: https://review.openstack.org/#q,topic:bp/db-api-tests,n,z

Addressed by: https://review.openstack.org/30622
    Add missing tests for db.api.service_*

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

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

Addressed by: https://review.openstack.org/30898
    Add missing tests for cinder.db.api.quota_

Addressed by: https://review.openstack.org/31627
    Add missing tests for backup_* methods

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

Addressed by: https://review.openstack.org/31640
    Add missing tests for iscsi_* methods

<JDG> I had hoped to get some more details on the plan for this BP as well as some updates, but no such luck. We should come up with a better plan of communication before moving on this one again.

Addressed by: https://review.openstack.org/43890
    Add missing tests for db.api methods

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.