17.4. test_reaction_summary¶
Unit test the ReactionSummary class.
17.4.1. Module Contents¶
17.4.1.1. Functions¶
|
Test that a summary can be created successfully. |
|
Test that the summary’s method |
|
Test that the summary’s method |
|
Test that the summary’s method |
|
Test that the reported flux in the summary is reasonable. |
|
Test that the reported flux ranges in the summary are reasonable. |
|
Test that the reaction summary inside and outside of a context are equal. |
-
test_reaction_summary.test_reaction_summary_interface(model, opt_solver)[source]¶ Test that a summary can be created successfully.
-
test_reaction_summary.test_reaction_summary_to_frame(model, opt_solver)[source]¶ Test that the summary’s method
to_framecan be called.
-
test_reaction_summary.test_reaction_summary_to_string(model, opt_solver, kwargs)[source]¶ Test that the summary’s method
to_stringcan be called.
-
test_reaction_summary.test_reaction_summary_to_html(model, opt_solver, kwargs)[source]¶ Test that the summary’s method
to_htmlcan be called.
-
test_reaction_summary.test_reaction_summary_flux(model, reaction_id: str, expected: float) → None[source]¶ Test that the reported flux in the summary is reasonable.