frappy/test/conftest.py
Markus Zolliker c1164568ae further fixes of py3 issues
complaints by pylint are mainly related to
- remove object from base list in class definitions
- unnecessary else/elif after return/raise

Change-Id: I13d15449149cc8bba0562338d0c9c42e97163bdf
Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/21325
Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de>
Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
2019-09-26 14:15:48 +02:00

22 lines
317 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
@pytest.fixture(scope="session")
# pylint: disable=redefined-builtin
def globals():
return dict()