Convert DB tests to use testscenarios library

Registered by Doug Hellmann

We currently use subclassing to create different sets of database tests for each driver. It would be easier to maintain the tests, and ensure we had all of them applied to all drivers, if we use the testscenarios library (https://pypi.python.org/pypi/testscenarios) instead.

Blueprint information

Status:
Complete
Approver:
Julien Danjou
Priority:
Low
Drafter:
Doug Hellmann
Direction:
Approved
Assignee:
Mehdi Abaakouk
Definition:
Approved
Series goal:
Accepted for havana
Implementation:
Implemented
Milestone target:
milestone icon 2013.2
Started by
Julien Danjou
Completed by
Mehdi Abaakouk

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/36237
    Refactored storage tests to use testscenarios

Addressed by: https://review.openstack.org/37677
    Renamed storage base file

Addressed by: https://review.openstack.org/37678
    Implemented test-scenarios for storage tests

Addressed by: https://review.openstack.org/38299
    Refactored API V1 tests to use testscenarios

Addressed by: https://review.openstack.org/38300
    Refactored API V2 tests to use testscenarios

Addressed by: https://review.openstack.org/38483
    Centralized backends tests scenarios in one place

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

Addressed by: https://review.openstack.org/42889
    Raise Error when pagination support is missing

Addressed by: https://review.openstack.org/42890
    Move sqlachemy tests only in test_impl_sqlachemy

Addressed by: https://review.openstack.org/43071
    Refactored storage tests to use testscenarios

Addressed by: https://review.openstack.org/43426
    Add missing import of _

Addressed by: https://review.openstack.org/43427
    Raise Error when pagination/groupby is missing

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.