Skip to content

Commit

Permalink
minor pytest fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeline committed Sep 10, 2024
1 parent 979f476 commit 78d2352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_bifacial_radiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_Radiance_high_azimuth_modelchains():
assert np.mean(results.Wm2Front[0]) == pytest.approx(899, rel = 0.005) # was 912 in v0.2.3
assert np.mean(results.Wm2Back[0]) == pytest.approx(189, rel = 0.03) # was 182 in v0.2.2
assert results.Pout[0] == demo2.compiledResults.Pout[0] == pytest.approx(369, abs= 1)
assert results.Mismatch[0] == pytest.approx(2.8, abs = .1)
assert results.Mismatch[0] == pytest.approx(2.82, abs = .1)

# assert that .hdr image files were created in the last 5 minutes
mtime_module = os.path.getmtime(os.path.join('images','test-module_XYZ.hdr'))
Expand Down

0 comments on commit 78d2352

Please sign in to comment.