api: run list_projects tests against SQL backend too
Change-Id: Id656537f74ebb636147fb8e6762a65652ad5c151 Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
75f4fffb94
commit
955ffa901d
@ -19,6 +19,7 @@
|
||||
"""
|
||||
from . import list_events
|
||||
from . import list_meters
|
||||
from . import list_projects
|
||||
from . import list_users
|
||||
|
||||
|
||||
@ -48,3 +49,11 @@ class TestListEmptyUsers(list_users.TestListEmptyUsers):
|
||||
|
||||
class TestListUsers(list_users.TestListUsers):
|
||||
database_connection = 'test://'
|
||||
|
||||
|
||||
class TestListEmptyProjects(list_projects.TestListEmptyProjects):
|
||||
database_connection = 'test://'
|
||||
|
||||
|
||||
class TestListProjects(list_projects.TestListProjects):
|
||||
database_connection = 'test://'
|
||||
|
@ -19,6 +19,7 @@
|
||||
"""
|
||||
from . import list_events
|
||||
from . import list_meters
|
||||
from . import list_projects
|
||||
from . import list_users
|
||||
|
||||
|
||||
@ -40,3 +41,11 @@ class TestListEmptyUsers(list_users.TestListEmptyUsers):
|
||||
|
||||
class TestListUsers(list_users.TestListUsers):
|
||||
database_connection = 'sqlite://'
|
||||
|
||||
|
||||
class TestListEmptyProjects(list_projects.TestListEmptyProjects):
|
||||
database_connection = 'sqlite://'
|
||||
|
||||
|
||||
class TestListProjects(list_projects.TestListProjects):
|
||||
database_connection = 'sqlite://'
|
||||
|
Loading…
x
Reference in New Issue
Block a user