15.1.1.6.1.7. cobra.test.test_model

15.1.1.6.1.7.1. Module Contents

class cobra.test.test_model.TestReactions
test_gpr()
test_gpr_modification(model)
test_gene_knock_out(model)
test_str()
test_add_metabolite_benchmark(model, benchmark, solver)
test_add_metabolite(model)
test_subtract_metabolite_benchmark(model, benchmark, solver)
test_subtract_metabolite(model, solver)
test_mass_balance(model)
test_build_from_string(model)
test_bounds_setter(model)
test_copy(model)
test_iadd(model)
test_add(model)
test_radd(model)
test_mul(model)
test_sub(model)
test_repr_html_(model)
class cobra.test.test_model.TestCobraMetabolites
test_metabolite_formula()
test_formula_element_setting(model)
test_repr_html_(model)
class cobra.test.test_model.TestCobraGenes
test_repr_html_(model)
class cobra.test.test_model.TestCobraModel

test core cobra functions

test_add_remove_reaction_benchmark(model, benchmark, solver)
test_add_metabolite(model)
test_remove_metabolite_subtractive(model)
test_remove_metabolite_destructive(model)
test_compartments(model)
test_add_reaction(model)
test_add_reaction_context(model)
test_add_reaction_from_other_model(model)
test_model_remove_reaction(model)
test_reaction_remove(model)
test_reaction_delete(model)
test_remove_gene(model)
test_exchange_reactions(model)
test_add_boundary(model, metabolites, reaction_type, prefix)
test_add_boundary_context(model, metabolites, reaction_type, prefix)
test_add_existing_boundary(model, metabolites, reaction_type)
test_copy_benchmark(model, solver, benchmark)
test_copy_benchmark_large_model(large_model, solver, benchmark)
test_copy(model)

modifying copy should not modify the original

test_deepcopy_benchmark(model, benchmark)
test_deepcopy(model)

Reference structures are maintained when deepcopying

test_add_reaction_orphans(model)

test reaction addition

Need to verify that no orphan genes or metabolites are contained in reactions after adding them to the model.

test_merge_models(model, tiny_toy_model)
test_change_objective_benchmark(model, benchmark, solver)
test_get_objective_direction(model)
test_set_objective_direction(model)
test_slim_optimize(model)
test_optimize(model, solver)
test_change_objective(model)
test_problem_properties(model)
test_solution_data_frame(model)
test_context_manager(model)
test_repr_html_(model)
class cobra.test.test_model.TestStoichiometricMatrix

Test the simple replacement for ArrayBasedModel

test_dense_matrix(model)
test_sparse_matrix(model)