@ -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,
|
||||
):
|
||||
|
@ -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
|
||||
|
@ -156,7 +156,7 @@ class APITestCases(
|
||||
|
||||
|
||||
|
||||
@pytest.mark.module_role
|
||||
@pytest.mark.model_role
|
||||
class RoleAPITest(
|
||||
APITestCases,
|
||||
TestCase,
|
||||
|
@ -63,7 +63,7 @@ class RoleModelInheritedCases(
|
||||
|
||||
|
||||
|
||||
@pytest.mark.module_role
|
||||
@pytest.mark.model_role
|
||||
class RoleModelPyTest(
|
||||
RoleModelTestCases,
|
||||
):
|
||||
|
@ -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
|
||||
|
@ -47,7 +47,7 @@ class ViewsetTestCases(
|
||||
|
||||
|
||||
|
||||
@pytest.mark.module_role
|
||||
@pytest.mark.model_role
|
||||
class RoleViewsetTest(
|
||||
ViewsetTestCases,
|
||||
TestCase,
|
||||
|
@ -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.",
|
||||
|
Reference in New Issue
Block a user