chore(access): correct pytest mark for model role

ref: #873
This commit is contained in:
2025-07-23 07:29:33 +09:30
parent 25d3c5cb5a
commit a749862dbc
7 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ from access.serializers.role import Role, ModelSerializer
@pytest.mark.model_role
@pytest.mark.module_role
@pytest.mark.model_role
class ValidationSerializer(
TestCase,
):

View File

@ -23,7 +23,7 @@ User = django.contrib.auth.get_user_model()
@pytest.mark.model_role
@pytest.mark.module_role
@pytest.mark.model_role
class ViewSetBase:
add_data: dict = None

View File

@ -156,7 +156,7 @@ class APITestCases(
@pytest.mark.module_role
@pytest.mark.model_role
class RoleAPITest(
APITestCases,
TestCase,

View File

@ -63,7 +63,7 @@ class RoleModelInheritedCases(
@pytest.mark.module_role
@pytest.mark.model_role
class RoleModelPyTest(
RoleModelTestCases,
):

View File

@ -21,7 +21,7 @@ import pytest
@pytest.mark.model_role
@pytest.mark.module_role
@pytest.mark.model_role
@pytest.mark.skip( reason = 'figure out how to isolate so entirety of unit tests can run without this test failing' )
# @pytest.mark.forked
# @pytest.mark.django_db

View File

@ -47,7 +47,7 @@ class ViewsetTestCases(
@pytest.mark.module_role
@pytest.mark.model_role
class RoleViewsetTest(
ViewsetTestCases,
TestCase,

View File

@ -1171,7 +1171,7 @@ markers = [
"module_settings: Selects all tests from module settings.",
"note_models: Selects all centurion model note models",
"permissions: selects all permission related tests.",
"regressopm: selects all tests for regression.",
"regression: selects all tests for regression.",
"serializer: Selects all serializer tests",
"tenancy_models: Selects Tenancy models.",
"unit: Selects all Unit Tests.",