diff --git a/tests/api/v1/test_list_projects.py b/tests/api/v1/list_projects.py similarity index 100% rename from tests/api/v1/test_list_projects.py rename to tests/api/v1/list_projects.py diff --git a/tests/api/v1/test_impl_mongodb.py b/tests/api/v1/test_impl_mongodb.py index 3f2966ef8..a20c0ee78 100644 --- a/tests/api/v1/test_impl_mongodb.py +++ b/tests/api/v1/test_impl_mongodb.py @@ -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://' diff --git a/tests/api/v1/test_impl_sqlalchemy.py b/tests/api/v1/test_impl_sqlalchemy.py index fe8b6c3e7..08f70e1a5 100644 --- a/tests/api/v1/test_impl_sqlalchemy.py +++ b/tests/api/v1/test_impl_sqlalchemy.py @@ -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://'