Basic tests of all models

[source]

A suite of tests to ensure that each of the models in the EARM repository can be successfully loaded and have its reaction network generated.

For every model, pysb.bng.generate_network(model) is called; if there are no errors, the test passes.

Functions

earm.tests.test_models_net_gen.test_generate_network()[source]

Test all models for successful network generation by calling check_generate_network() for each model.

earm.tests.test_models_net_gen.check_generate_network(model)[source]

Tests that network generation occurs without error for the given model.