Coverage for tests/conftest.py: 100.00%

3 statements  

« prev     ^ index     » next       coverage.py v7.3.0, created at 2023-09-03 19:58 +0200

1"""Configuration for the pytest test suite.""" 

2 

3import os 

4 

5 

6def get_fake_script(name: str) -> str: 

7 """Get path to a fake script. 

8 

9 Parameters: 

10 name: The script name. 

11 

12 Returns: 

13 The fake script path. 

14 """ 

15 return os.path.join(os.path.dirname(os.path.abspath(__file__)), "fakescripts", name)