2727log = get_logger (__name__ )
2828
2929
30- # Test generate_bare_sheets()
31- @pytest .fixture
3230def test_generate_edit_files ():
3331 """
3432 Checks that required files are generated in both
@@ -40,7 +38,7 @@ def test_generate_edit_files():
4038 data_path = package_data_path ("bilateralize" )
4139 data_path = os .path .join (os .path .dirname (data_path ), "bilateralize" )
4240
43- generate_edit_files (log = log )
41+ generate_edit_files (log = log , project_name = None , config_name = None )
4442
4543 req_files = ["input" , "output" , "technical_lifetime" , "capacity_factor" ]
4644
@@ -54,8 +52,6 @@ def test_generate_edit_files():
5452 )
5553
5654
57- # Test build_parameter_sheets()
58- @pytest .fixture
5955def test_build_parameter_sheets ():
6056 """
6157 Checks that dictionary of parameter dataframes is built correctly.
@@ -76,9 +72,10 @@ def test_build_parameter_sheets():
7672 assert "flow" in test_dict [tec ].keys ()
7773
7874
79- # Test on scenario
80- @pytest .fixture
8175def test_bilat_scenario (request : pytest .FixtureRequest , test_context : Context ):
76+ """
77+ Test bilateralization on a scenario.
78+ """
8279 config_base , config_path , config_tec = load_config (
8380 project_name = None , config_name = None , load_tec_config = True
8481 )
0 commit comments