Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-springer committed Nov 19, 2024
1 parent 2731cd2 commit db27db8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_spectral.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ def test_poa_irradiance():
weather dataframe, meta dictionary, and solar_position dataframe
"""
result = pvdeg.spectral.poa_irradiance(
WEATHER, META, solpos_expected, tilt=None, azimuth=180, sky_model="isotropic"
WEATHER,
META,
sol_position=solpos_expected,
tilt=None,
azimuth=180,
sky_model="isotropic",
)

pd.testing.assert_frame_equal(result, poa_expected, check_dtype=False)

0 comments on commit db27db8

Please sign in to comment.