Coverage for bim2sim/plugins/PluginAixLib/test/regression/prepare_regression_tests.py: 0%

11 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-03-12 17:09 +0000

1from pathlib import Path 

2 

3from bim2sim.utilities.common_functions import download_library 

4 

5 

6def prepare_regression_tests(): 

7 repo_url = "https://github.com/RWTH-EBC/AixLib.git" 

8 branch_name = "main" 

9 repo_name = "AixLib" 

10 clone_dir = Path(__file__).parent / "library" / f"library_{repo_name}" 

11 print(f"Cloning AixLib library to {clone_dir}") 

12 download_library(repo_url, branch_name, clone_dir) 

13 

14 

15if __name__ == '__main__': 

16 prepare_regression_tests()