Skip to content

Commit aa31498

Browse files
committed
forgot to update arguments in test function
1 parent 8ab1001 commit aa31498

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pvlib/tests/test_transformer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def test_simple_transformer():
1515
1580687.44677249,
1616
1616441.79660171
1717
])
18-
no_load_loss_fraction = 0.002
19-
load_loss_fraction = 0.007
18+
no_load_loss = 0.002
19+
load_loss = 0.007
2020
transformer_rating = 2750000
2121

2222
# define expected test results
@@ -31,8 +31,8 @@ def test_simple_transformer():
3131
# run test function with test inputs
3232
calculated_output_power = transformer.simple_efficiency(
3333
input_power=input_power,
34-
no_load_loss_fraction=no_load_loss_fraction,
35-
load_loss_fraction=load_loss_fraction,
34+
no_load_loss=no_load_loss,
35+
load_loss=load_loss,
3636
transformer_rating=transformer_rating
3737
)
3838

0 commit comments

Comments
 (0)