Coverage for tests/_shared.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.2.6, created at 2023-05-30 11:16 +0200

1import os 

2from pathlib import Path 

3 

4tests_path = Path(os.path.dirname(os.path.realpath(__file__))).absolute().parent 

5EXAMPLES_PATH = tests_path / "pytest_examples" 

6GOOD_CODE = str(EXAMPLES_PATH / "good.py") 

7BAD_CODE = str(EXAMPLES_PATH / "bad.py") 

8FIXABLE_CODE = str(EXAMPLES_PATH / "fix.py")