diff --git a/tests/views/test_auth.py b/tests/views/test_auth.py index edcffc8..6f9dc20 100644 --- a/tests/views/test_auth.py +++ b/tests/views/test_auth.py @@ -5,7 +5,7 @@ import base64 -class AuthControllerTestCase(unittest.TestCase): +class AuthViewTestCase(unittest.TestCase): @classmethod def setUpClass(cls): diff --git a/tests/views/test_encounter.py b/tests/views/test_encounter.py index ecc9392..c3141c4 100644 --- a/tests/views/test_encounter.py +++ b/tests/views/test_encounter.py @@ -1,9 +1,9 @@ import unittest from app.models.encounter import Encounter -from tests.views.test_view_base import ControllerTestBase +from tests.views.test_view_base import ViewTestBase -class EncounterControllerTestCase(ControllerTestBase): +class EncounterViewTestCase(ViewTestBase): def test_create_encounter(self): content = { diff --git a/tests/views/test_item.py b/tests/views/test_item.py index b125c22..98cfa7f 100644 --- a/tests/views/test_item.py +++ b/tests/views/test_item.py @@ -1,10 +1,10 @@ import unittest from app.models.item import Item -from tests.views.test_view_base import ControllerTestBase +from tests.views.test_view_base import ViewTestBase -class ItemControllerTestCase(ControllerTestBase): +class ItemViewTestCase(ViewTestBase): def test_create_item(self): content = { diff --git a/tests/views/test_roll.py b/tests/views/test_roll.py index a6e05da..9a05a19 100644 --- a/tests/views/test_roll.py +++ b/tests/views/test_roll.py @@ -9,7 +9,7 @@ from app.models.room import Room -class RollControllerTestCase(unittest.TestCase): +class RollViewTestCase(unittest.TestCase): @classmethod def setUpClass(cls): diff --git a/tests/views/test_rolltable.py b/tests/views/test_rolltable.py index e2b50d4..a73db7e 100644 --- a/tests/views/test_rolltable.py +++ b/tests/views/test_rolltable.py @@ -2,10 +2,10 @@ from app.models.item import Item from app.models.rolltable import RollTable -from tests.views.test_view_base import ControllerTestBase +from tests.views.test_view_base import ViewTestBase -class RollTableControllerTestCase(ControllerTestBase): +class RollTableViewTestCase(ViewTestBase): def setUp(self): super().setUp() diff --git a/tests/views/test_room.py b/tests/views/test_room.py index 0b54754..1e41794 100644 --- a/tests/views/test_room.py +++ b/tests/views/test_room.py @@ -1,9 +1,9 @@ import unittest from app.models.room import Room -from tests.views.test_view_base import ControllerTestBase +from tests.views.test_view_base import ViewTestBase -class RoomControllerTestCase(ControllerTestBase): +class RoomViewTestCase(ViewTestBase): def test_create_room(self): content = { diff --git a/tests/views/test_session.py b/tests/views/test_session.py index 5217012..5b60052 100644 --- a/tests/views/test_session.py +++ b/tests/views/test_session.py @@ -9,7 +9,7 @@ from app.models.user import User -class SessionControllerTestCase(unittest.TestCase): +class SessionViewTestCase(unittest.TestCase): @classmethod def setUpClass(cls): diff --git a/tests/views/test_user.py b/tests/views/test_user.py index 82f6eef..1b42d00 100644 --- a/tests/views/test_user.py +++ b/tests/views/test_user.py @@ -3,10 +3,10 @@ from app.models.item import Item from app.models.user import User -from tests.views.test_view_base import ControllerTestBase +from tests.views.test_view_base import ViewTestBase -class UserControllerTestCase(ControllerTestBase): +class UserViewTestCase(ViewTestBase): def setUp(self): super().setUp() diff --git a/tests/views/test_view_base.py b/tests/views/test_view_base.py index 8c1ef51..27ebe48 100644 --- a/tests/views/test_view_base.py +++ b/tests/views/test_view_base.py @@ -13,7 +13,7 @@ def drop_all_collections(): db.drop_collection(collection_name) -class ControllerTestBase(unittest.TestCase): +class ViewTestBase(unittest.TestCase): @classmethod def setUpClass(cls):