chore: comment out test setup for skeleton test suites not in use yet
ref: #770
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
import pytest
|
||||
# import pytest
|
||||
|
||||
from core.models.centurion import CenturionModel
|
||||
# from core.models.centurion import CenturionModel
|
||||
|
||||
|
||||
|
||||
@pytest.fixture( scope = 'class')
|
||||
def model(request):
|
||||
# @pytest.fixture( scope = 'class')
|
||||
# def model(request):
|
||||
|
||||
request.cls.model = CenturionModel
|
||||
# request.cls.model = CenturionModel
|
||||
|
||||
yield request.cls.model
|
||||
# yield request.cls.model
|
||||
|
||||
del request.cls.model
|
||||
# del request.cls.model
|
||||
|
@ -4,9 +4,10 @@ import pytest
|
||||
@pytest.mark.models
|
||||
class CenturionAbstractModelTestCases:
|
||||
|
||||
@pytest.fixture( scope = 'class', autouse = True)
|
||||
def setup_class(cls, model):
|
||||
pass
|
||||
# @pytest.fixture( scope = 'class', autouse = True)
|
||||
# def setup_class(cls, model):
|
||||
# pass
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
import pytest
|
||||
# import pytest
|
||||
|
||||
from core.models.audit import CenturionAudit
|
||||
# from core.models.audit import CenturionAudit
|
||||
|
||||
|
||||
|
||||
@pytest.fixture( scope = 'class')
|
||||
def model(request):
|
||||
# @pytest.fixture( scope = 'class')
|
||||
# def model(request):
|
||||
|
||||
request.cls.model = CenturionAudit
|
||||
# request.cls.model = CenturionAudit
|
||||
|
||||
yield request.cls.model
|
||||
# yield request.cls.model
|
||||
|
||||
del request.cls.model
|
||||
# del request.cls.model
|
||||
|
@ -4,9 +4,10 @@ import pytest
|
||||
@pytest.mark.models
|
||||
class CenturionAuditModelTestCases:
|
||||
|
||||
@pytest.fixture( scope = 'class', autouse = True)
|
||||
def setup_class(cls, model):
|
||||
pass
|
||||
# @pytest.fixture( scope = 'class', autouse = True)
|
||||
# def setup_class(cls, model):
|
||||
# pass
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
import pytest
|
||||
# import pytest
|
||||
|
||||
from core.models.centurion import CenturionSubModel
|
||||
# from core.models.centurion import CenturionSubModel
|
||||
|
||||
|
||||
|
||||
@pytest.fixture( scope = 'class')
|
||||
def model(request):
|
||||
# @pytest.fixture( scope = 'class')
|
||||
# def model(request):
|
||||
|
||||
request.cls.model = CenturionSubModel
|
||||
# request.cls.model = CenturionSubModel
|
||||
|
||||
yield request.cls.model
|
||||
# yield request.cls.model
|
||||
|
||||
del request.cls.model
|
||||
# del request.cls.model
|
||||
|
@ -4,9 +4,10 @@ import pytest
|
||||
@pytest.mark.models
|
||||
class CenturionSubAbstractModelTestCases:
|
||||
|
||||
@pytest.fixture( scope = 'class', autouse = True)
|
||||
def setup_class(cls, model):
|
||||
pass
|
||||
# @pytest.fixture( scope = 'class', autouse = True)
|
||||
# def setup_class(cls, model):
|
||||
# pass
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
@ -3,11 +3,12 @@ import pytest
|
||||
|
||||
@pytest.mark.models
|
||||
class MetaAbstractModelTestCases:
|
||||
pass
|
||||
|
||||
|
||||
@pytest.fixture( scope = 'class', autouse = True)
|
||||
def setup_class(cls, model):
|
||||
pass
|
||||
# @pytest.fixture( scope = 'class', autouse = True)
|
||||
# def setup_class(cls, model):
|
||||
#
|
||||
pass
|
||||
|
||||
|
||||
# check models with model._audit_enabled=True have a model created
|
||||
|
Reference in New Issue
Block a user