Skip to content

Commit

Permalink
more rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Adler committed Aug 18, 2024
1 parent 76c717e commit ba9dae4
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tests/views/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import base64


class AuthControllerTestCase(unittest.TestCase):
class AuthViewTestCase(unittest.TestCase):

@classmethod
def setUpClass(cls):
Expand Down
4 changes: 2 additions & 2 deletions tests/views/test_encounter.py
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions tests/views/test_item.py
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion tests/views/test_roll.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from app.models.room import Room


class RollControllerTestCase(unittest.TestCase):
class RollViewTestCase(unittest.TestCase):

@classmethod
def setUpClass(cls):
Expand Down
4 changes: 2 additions & 2 deletions tests/views/test_rolltable.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions tests/views/test_room.py
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion tests/views/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from app.models.user import User


class SessionControllerTestCase(unittest.TestCase):
class SessionViewTestCase(unittest.TestCase):

@classmethod
def setUpClass(cls):
Expand Down
4 changes: 2 additions & 2 deletions tests/views/test_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion tests/views/test_view_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ba9dae4

Please sign in to comment.