Merge "api: run compute duration by resource on SQL backend"

This commit is contained in:
Jenkins 2013-03-06 03:54:23 +00:00 committed by Gerrit Code Review
commit 64e8e382f6
3 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,7 @@
# under the License.
"""Test API against MongoDB.
"""
from . import compute_duration_by_resource as cdbr
from . import list_events
from . import list_meters
from . import list_projects
@ -57,3 +58,7 @@ class TestListEmptyProjects(list_projects.TestListEmptyProjects):
class TestListProjects(list_projects.TestListProjects):
database_connection = 'test://'
class TestComputeDurationByResource(cdbr.TestComputeDurationByResource):
database_connection = 'test://'

View File

@ -17,6 +17,7 @@
# under the License.
"""Test API against SQLAlchemy.
"""
from . import compute_duration_by_resource as cdbr
from . import list_events
from . import list_meters
from . import list_projects
@ -49,3 +50,7 @@ class TestListEmptyProjects(list_projects.TestListEmptyProjects):
class TestListProjects(list_projects.TestListProjects):
database_connection = 'sqlite://'
class TestComputeDurationByResource(cdbr.TestComputeDurationByResource):
database_connection = 'sqlite://'