mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-08 09:39:02 +00:00
29 lines
612 B
Python
29 lines
612 B
Python
![]() |
import sys
|
||
|
|
||
|
import pytest
|
||
|
|
||
|
from .integration_base import int_admin_ometa
|
||
|
|
||
|
if not sys.version_info >= (3, 9):
|
||
|
collect_ignore = ["trino"]
|
||
|
|
||
|
|
||
|
@pytest.fixture(scope="module")
|
||
|
def metadata():
|
||
|
return int_admin_ometa()
|
||
|
|
||
|
|
||
|
def pytest_pycollect_makeitem(collector, name, obj):
|
||
|
try:
|
||
|
if obj.__base__.__name__ in ("BaseModel", "Enum"):
|
||
|
return []
|
||
|
except AttributeError:
|
||
|
pass
|
||
|
|
||
|
|
||
|
@pytest.fixture(scope="session", autouse=sys.version_info >= (3, 9))
|
||
|
def config_testcontatiners():
|
||
|
from testcontainers.core.config import testcontainers_config
|
||
|
|
||
|
testcontainers_config.max_tries = 10
|