Skip to content

Commit d8eb5d9

Browse files
committed
update test
1 parent 6b4fa68 commit d8eb5d9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pvlib/test/test_irradiance.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def test_total_irrad_scalars(model):
251251
assert np.isnan(np.array(list(total.values()))).sum() == 0
252252

253253

254-
def test_globalinplane():
254+
def test_poa_components():
255255
aoi = irradiance.aoi(40, 180, ephem_data['apparent_zenith'],
256256
ephem_data['azimuth'])
257257
airmass = atmosphere.relativeairmass(ephem_data['apparent_zenith'])
@@ -260,8 +260,7 @@ def test_globalinplane():
260260
40, 180, irrad_data['dhi'], irrad_data['dni'], dni_et,
261261
ephem_data['apparent_zenith'], ephem_data['azimuth'], airmass)
262262
irradiance.globalinplane(
263-
aoi=aoi, dni=irrad_data['dni'], poa_sky_diffuse=diff_perez,
264-
poa_ground_diffuse=gr_sand)
263+
aoi, irrad_data['dni'], diff_perez, gr_sand)
265264

266265

267266
def test_disc_keys():

0 commit comments

Comments
 (0)