1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# -*- coding: utf-8 -*-
"""
Dummy conftest.py for pyomop.
If you don't know what this is for, just leave it empty.
Read more about conftest.py under:
https://pytest.org/latest/plugins.html
"""
import asyncio
import pytest
@pytest.fixture
def pyomop_fixture():
from pyomop import CdmEngineFactory
cdm = CdmEngineFactory()
return cdm
@pytest.fixture
def metadata_fixture():
from pyomop import metadata
return metadata
@pytest.fixture
def vector_fixture():
from pyomop import CdmVector
return CdmVector()
|