Skip to content

Commit

Permalink
Merge branch 'agn_sources' of https://github.com/Henry-Best-01/slsim
Browse files Browse the repository at this point in the history
…into agn_sources
  • Loading branch information
Henry-Best-01 committed Oct 9, 2024
2 parents 7179d66 + 41b56c8 commit e632beb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_Source/test_agn.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def test_random_agn():
input_agn_bounds_dict=input_agn_bounds_dict,
)


light_curve_1 = {
"MJD": [0, 1, 2, 3, 4, 5],
"ps_mag_intrinsic": [1, 0, -1, 0, 1, 0],
Expand All @@ -220,7 +221,11 @@ def test_random_agn():
)

# test initialization with minimal information
RandomAgn(i_band_string, i_band_mag, redshift)
RandomAgn(
i_band_string,
i_band_mag,
redshift
)

# Test that we raise a warning in RandomAgn when no time axis is input
with pytest.raises(ValueError):
Expand Down

0 comments on commit e632beb

Please sign in to comment.