@ -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,
|
||||
|
Reference in New Issue
Block a user