refactor(core): API Render Unit Test Suite re-enabled for model Manufacturer

ref: #908 #911 #914
This commit is contained in:
2025-07-30 10:02:15 +09:30
parent b84571bd44
commit c32cc6c954
2 changed files with 2 additions and 28 deletions

View File

@ -1,6 +1,5 @@
import django
import pytest
import unittest
from django.contrib.auth.models import Permission
from django.contrib.contenttypes.models import ContentType
@ -19,6 +18,8 @@ User = django.contrib.auth.get_user_model()
@pytest.mark.model_manufacturer
@pytest.mark.module_core
class ManufacturerAPI(
TestCase,
APITenancyObject

View File

@ -1,27 +0,0 @@
from django.test import TestCase
from centurion.tests.unit.test_unit_models import (
TenancyObjectInheritedCases
)
from core.models.manufacturer import Manufacturer
class ManufacturerModelTestCases(
TenancyObjectInheritedCases,
):
kwargs_item_create = {
'name': 'man'
}
model = Manufacturer
class ManufacturerModelTest(
ManufacturerModelTestCases,
TestCase,
):
pass