frappy/test/conftest.py
Enrico Faulhaber 8efd1df92c fix isort
Change-Id: I5486e1f9b3143c6bb0804c49c7ca21adb9b84de1
Reviewed-on: https://forge.frm2.tum.de/review/19524
Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
Tested-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
2018-12-04 10:18:55 +01:00

23 lines
373 B
Python

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