Merge "api: run list_projects tests against SQL backend too"
This commit is contained in:
commit
5ba6a71abb
@ -19,6 +19,7 @@
|
|||||||
"""
|
"""
|
||||||
from . import list_events
|
from . import list_events
|
||||||
from . import list_meters
|
from . import list_meters
|
||||||
|
from . import list_projects
|
||||||
from . import list_users
|
from . import list_users
|
||||||
|
|
||||||
|
|
||||||
@ -48,3 +49,11 @@ class TestListEmptyUsers(list_users.TestListEmptyUsers):
|
|||||||
|
|
||||||
class TestListUsers(list_users.TestListUsers):
|
class TestListUsers(list_users.TestListUsers):
|
||||||
database_connection = 'test://'
|
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_events
|
||||||
from . import list_meters
|
from . import list_meters
|
||||||
|
from . import list_projects
|
||||||
from . import list_users
|
from . import list_users
|
||||||
|
|
||||||
|
|
||||||
@ -40,3 +41,11 @@ class TestListEmptyUsers(list_users.TestListEmptyUsers):
|
|||||||
|
|
||||||
class TestListUsers(list_users.TestListUsers):
|
class TestListUsers(list_users.TestListUsers):
|
||||||
database_connection = 'sqlite://'
|
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