Merge "api: run compute duration by resource on SQL backend"
This commit is contained in:
commit
64e8e382f6
@ -17,6 +17,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
"""Test API against MongoDB.
|
"""Test API against MongoDB.
|
||||||
"""
|
"""
|
||||||
|
from . import compute_duration_by_resource as cdbr
|
||||||
from . import list_events
|
from . import list_events
|
||||||
from . import list_meters
|
from . import list_meters
|
||||||
from . import list_projects
|
from . import list_projects
|
||||||
@ -57,3 +58,7 @@ class TestListEmptyProjects(list_projects.TestListEmptyProjects):
|
|||||||
|
|
||||||
class TestListProjects(list_projects.TestListProjects):
|
class TestListProjects(list_projects.TestListProjects):
|
||||||
database_connection = 'test://'
|
database_connection = 'test://'
|
||||||
|
|
||||||
|
|
||||||
|
class TestComputeDurationByResource(cdbr.TestComputeDurationByResource):
|
||||||
|
database_connection = 'test://'
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
"""Test API against SQLAlchemy.
|
"""Test API against SQLAlchemy.
|
||||||
"""
|
"""
|
||||||
|
from . import compute_duration_by_resource as cdbr
|
||||||
from . import list_events
|
from . import list_events
|
||||||
from . import list_meters
|
from . import list_meters
|
||||||
from . import list_projects
|
from . import list_projects
|
||||||
@ -49,3 +50,7 @@ class TestListEmptyProjects(list_projects.TestListEmptyProjects):
|
|||||||
|
|
||||||
class TestListProjects(list_projects.TestListProjects):
|
class TestListProjects(list_projects.TestListProjects):
|
||||||
database_connection = 'sqlite://'
|
database_connection = 'sqlite://'
|
||||||
|
|
||||||
|
|
||||||
|
class TestComputeDurationByResource(cdbr.TestComputeDurationByResource):
|
||||||
|
database_connection = 'sqlite://'
|
||||||
|
Loading…
Reference in New Issue
Block a user