Skip to content

Commit

Permalink
Prevent test file from being exported
Browse files Browse the repository at this point in the history
  • Loading branch information
rafmudaf committed Jan 8, 2024
1 parent 366f61a commit b0f9c71
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/turbine_utilities_unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def test_build_turbine_dict():
v3_file_path = Path(__file__).resolve().parent / "data" / "nrel_5MW_v3legacy.yaml"
v4_file_path = Path(__file__).resolve().parent / "data" / "nrel_5MW.yaml"
test_turb_name = "test_turbine_export"
test_file_path = "."

in_dict_v3 = yaml.safe_load( open(v3_file_path, "r") )

Expand All @@ -40,7 +39,6 @@ def test_build_turbine_dict():
test_dict = build_cosine_loss_turbine_dict(
turbine_data_dict,
test_turb_name,
file_name=os.path.join(test_file_path, test_turb_name+".yaml"),
generator_efficiency=in_dict_v3["generator_efficiency"],
hub_height=in_dict_v3["hub_height"],
pP=in_dict_v3["pP"],
Expand Down Expand Up @@ -82,7 +80,6 @@ def test_build_turbine_dict():
test_dict_2 = build_cosine_loss_turbine_dict(
turbine_data_dict,
test_turb_name,
file_name=os.path.join(test_file_path, test_turb_name+".yaml"),
generator_efficiency=in_dict_v4["generator_efficiency"],
hub_height=in_dict_v4["hub_height"],
pP=in_dict_v4["power_thrust_table"]["pP"],
Expand Down

0 comments on commit b0f9c71

Please sign in to comment.