frappy/test/conftest.py
Markus Zolliker da15df076a fetched mlz version
- before some chamges in the gerrit pipline

Change-Id: I33eb2d75f83345a7039d0fb709e66defefb1c3e0
2023-05-02 15:25:11 +02:00

22 lines
313 B
Python

# content of conftest.py
import pytest
@pytest.fixture(scope="module")
def constants():
# setup
class Constants:
ONE = 1
TWO = 2
c = Constants()
yield c
# teardown
del c
# pylint: disable=redefined-builtin
@pytest.fixture(scope="session")
def globals():
return {}