mmdeploy/tests/test_codebase/test_mmseg/conftest.py

11 lines
217 B
Python

# Copyright (c) OpenMMLab. All rights reserved.
import pytest
@pytest.fixture(autouse=True)
def init_test():
# init default scope
from mmseg.utils import register_all_modules
register_all_modules(True)