Skip to content

Commit 0ef21f7

Browse files
committed
cherry pick the parameter to check
1 parent 4975364 commit 0ef21f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pvlib/tests/ivtools/test_sdm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ def test_fit_desoto_init_guess(mocker):
8888
result, _ = sdm.fit_desoto(v_mp=31.0, i_mp=8.71, v_oc=38.3, i_sc=9.43,
8989
alpha_sc=0.005658, beta_voc=-0.13788,
9090
cells_in_series=60, init_guess=init_guess)
91-
optimize.root.assert_called_once_with(x0=init_guess_array)
91+
optimize.root.assert_called_once_with(mocker.ANY, x0=init_guess_array,
92+
args=mocker.ANY)
9293

9394

9495
def test_fit_desoto_failure():

0 commit comments

Comments
 (0)