17.42. test_load

17.42.1. Module Contents

17.42.1.1. Functions

mini_sbml(data_directory)

Provide a gzip-compressed SBML document.

bigg_models(mini_sbml, mocker)

Provide a mocked BiGG Models repository interface.

biomodels(mini_sbml, mocker)

Provide a mocked BioModels repository interface.

test_bigg_access(bigg_models)

Test that SBML would be retrieved from the BiGG Models repository.

test_biomodels_access(biomodels)

Test that SBML would be retrieved from the BioModels repository.

test_unknown_model()

Expect that a not found error is raised (e2e).

test_remote_load(model_id: str, num_metabolites: int, num_reactions: int)

Test that sample models can be loaded from remote repositories (e2e).

test_cache(monkeypatch, tmp_path, bigg_models, biomodels)

Test that remote models are properly cached.

test_load.mini_sbml(data_directory)[source]

Provide a gzip-compressed SBML document.

test_load.bigg_models(mini_sbml, mocker)[source]

Provide a mocked BiGG Models repository interface.

test_load.biomodels(mini_sbml, mocker)[source]

Provide a mocked BioModels repository interface.

test_load.test_bigg_access(bigg_models)[source]

Test that SBML would be retrieved from the BiGG Models repository.

test_load.test_biomodels_access(biomodels)[source]

Test that SBML would be retrieved from the BioModels repository.

test_load.test_unknown_model()[source]

Expect that a not found error is raised (e2e).

test_load.test_remote_load(model_id: str, num_metabolites: int, num_reactions: int)[source]

Test that sample models can be loaded from remote repositories (e2e).

test_load.test_cache(monkeypatch, tmp_path, bigg_models, biomodels)[source]

Test that remote models are properly cached.