mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
testing: colorspace legacy_io fixture
This commit is contained in:
parent
233808f1ee
commit
14b52ac625
1 changed files with 6 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ import shutil
|
|||
import os
|
||||
|
||||
from tests.lib.testing_classes import ModuleUnitTest
|
||||
from openpype.pipeline import colorspace
|
||||
from openpype.pipeline import colorspace, legacy_io
|
||||
|
||||
|
||||
class TestPipelineColorspace(ModuleUnitTest):
|
||||
|
|
@ -37,6 +37,11 @@ class TestPipelineColorspace(ModuleUnitTest):
|
|||
)
|
||||
]
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def legacy_io(self, dbcon):
|
||||
legacy_io.Session = dbcon.Session
|
||||
yield legacy_io.Session
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def config_path_project(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue