@ -11,7 +11,7 @@ from access.serializers.role import Role, ModelSerializer
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.model_role
|
@pytest.mark.model_role
|
||||||
@pytest.mark.module_role
|
@pytest.mark.model_role
|
||||||
class ValidationSerializer(
|
class ValidationSerializer(
|
||||||
TestCase,
|
TestCase,
|
||||||
):
|
):
|
||||||
|
@ -23,7 +23,7 @@ User = django.contrib.auth.get_user_model()
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.model_role
|
@pytest.mark.model_role
|
||||||
@pytest.mark.module_role
|
@pytest.mark.model_role
|
||||||
class ViewSetBase:
|
class ViewSetBase:
|
||||||
|
|
||||||
add_data: dict = None
|
add_data: dict = None
|
||||||
|
@ -156,7 +156,7 @@ class APITestCases(
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.module_role
|
@pytest.mark.model_role
|
||||||
class RoleAPITest(
|
class RoleAPITest(
|
||||||
APITestCases,
|
APITestCases,
|
||||||
TestCase,
|
TestCase,
|
||||||
|
@ -63,7 +63,7 @@ class RoleModelInheritedCases(
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.module_role
|
@pytest.mark.model_role
|
||||||
class RoleModelPyTest(
|
class RoleModelPyTest(
|
||||||
RoleModelTestCases,
|
RoleModelTestCases,
|
||||||
):
|
):
|
||||||
|
@ -21,7 +21,7 @@ import pytest
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.model_role
|
@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.skip( reason = 'figure out how to isolate so entirety of unit tests can run without this test failing' )
|
||||||
# @pytest.mark.forked
|
# @pytest.mark.forked
|
||||||
# @pytest.mark.django_db
|
# @pytest.mark.django_db
|
||||||
|
@ -47,7 +47,7 @@ class ViewsetTestCases(
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.module_role
|
@pytest.mark.model_role
|
||||||
class RoleViewsetTest(
|
class RoleViewsetTest(
|
||||||
ViewsetTestCases,
|
ViewsetTestCases,
|
||||||
TestCase,
|
TestCase,
|
||||||
|
@ -1171,7 +1171,7 @@ markers = [
|
|||||||
"module_settings: Selects all tests from module settings.",
|
"module_settings: Selects all tests from module settings.",
|
||||||
"note_models: Selects all centurion model note models",
|
"note_models: Selects all centurion model note models",
|
||||||
"permissions: selects all permission related tests.",
|
"permissions: selects all permission related tests.",
|
||||||
"regressopm: selects all tests for regression.",
|
"regression: selects all tests for regression.",
|
||||||
"serializer: Selects all serializer tests",
|
"serializer: Selects all serializer tests",
|
||||||
"tenancy_models: Selects Tenancy models.",
|
"tenancy_models: Selects Tenancy models.",
|
||||||
"unit: Selects all Unit Tests.",
|
"unit: Selects all Unit Tests.",
|
||||||
|
Reference in New Issue
Block a user