chore(access): disable tests to be refactored

ref: #805 #790
This commit is contained in:
2025-06-08 13:51:10 +09:30
parent 708c2ae92c
commit 35b3710562
4 changed files with 10 additions and 3 deletions

View File

@ -14,6 +14,7 @@ User = django.contrib.auth.get_user_model()
@pytest.mark.skip( reason = 'to be refactored' )
class OrganizationValidationAPI(
TestCase,
):

View File

@ -22,13 +22,14 @@ User = django.contrib.auth.get_user_model()
@pytest.mark.skip( reason = 'to be refactored' )
class ViewSetBase:
model = Organization
app_namespace = 'v2'
url_name = '_api_v2_organization'
url_name = '_api_organization'
change_data = {'name': 'device'}

View File

@ -20,6 +20,8 @@ from api.tests.abstract.api_fields import APICommonFields
User = django.contrib.auth.get_user_model()
@pytest.mark.skip( reason = 'to be refactored' )
class OrganizationAPI(
TestCase,
APICommonFields
@ -29,7 +31,7 @@ class OrganizationAPI(
app_namespace = 'v2'
url_name = '_api_v2_organization'
url_name = '_api_organization'
@classmethod
def setUpTestData(self):

View File

@ -1,3 +1,5 @@
import pytest
from django.test import Client, TestCase
from rest_framework.reverse import reverse
@ -8,6 +10,7 @@ from api.tests.unit.test_unit_common_viewset import ModelViewSetInheritedCases
@pytest.mark.skip( reason = 'to be refactored' )
class OrganizationViewsetList(
ModelViewSetInheritedCases,
TestCase,
@ -15,7 +18,7 @@ class OrganizationViewsetList(
viewset = ViewSet
route_name = 'API:_api_v2_organization'
route_name = 'API:_api_organization'
@classmethod