File: conftest.py

package info (click to toggle)
python-pyomop 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 532 kB
  • sloc: python: 1,374; sh: 37; makefile: 26
file content (28 lines) | stat: -rw-r--r-- 552 bytes parent folder | download
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()