api: run list_sources tests on SQL and Mongo backend
Change-Id: I59d27548b66c7681ae331a3f342d8277a258f4c2 Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
98ac1d30f5
commit
3bb1e83c8e
@ -22,6 +22,7 @@ from . import list_events
|
||||
from . import list_meters
|
||||
from . import list_projects
|
||||
from . import list_resources
|
||||
from . import list_sources
|
||||
from . import list_users
|
||||
|
||||
|
||||
@ -75,3 +76,7 @@ class TestListResources(list_resources.TestListResources):
|
||||
|
||||
class TestListResourcesMetaquery(list_resources.TestListResourcesMetaquery):
|
||||
database_connection = 'test://'
|
||||
|
||||
|
||||
class TestListSource(list_sources.TestListSource):
|
||||
database_connection = 'test://'
|
||||
|
@ -22,6 +22,7 @@ import list_events
|
||||
import list_meters
|
||||
import list_projects
|
||||
import list_resources
|
||||
import list_sources
|
||||
import list_users
|
||||
|
||||
|
||||
@ -63,3 +64,7 @@ class TestListEmptyResources(list_resources.TestListEmptyResources):
|
||||
|
||||
class TestListResources(list_resources.TestListResources):
|
||||
database_connection = 'sqlite://'
|
||||
|
||||
|
||||
class TestListSource(list_sources.TestListSource):
|
||||
database_connection = 'sqlite://'
|
||||
|
Loading…
x
Reference in New Issue
Block a user