diff --git a/acto/input/test_generators/generator.py b/acto/input/test_generators/generator.py index 53570e65d6..991a26a6f4 100644 --- a/acto/input/test_generators/generator.py +++ b/acto/input/test_generators/generator.py @@ -6,6 +6,8 @@ from functools import wraps from typing import Callable, Literal, Optional +import pytest + from acto.input.k8s_schemas import KubernetesObjectSchema from acto.input.testcase import TestCase from acto.schema import ( @@ -130,6 +132,7 @@ def wrapped_func(*args, **kwargs): return wrapped_func +@pytest.mark.skip(reason="not a test") def test_generator( k8s_schema_name: Optional[str] = None, property_name: Optional[str] = None, diff --git a/pyproject.toml b/pyproject.toml index 419e5790dd..879a4b878d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,8 @@ markers = [ "all_bug_reproduction: mark a test to reproduce all bugs in the suite", "kubernetes_engine: mark a test for cluster set up", ] +python_functions = "test_*" +python_classes = "" [tool.pylint."messages control"] disable = [