17.1.1.8.1.4.1.8. cobra.test.test_io.test_pickle

Test data storage and recovery using pickle.

17.1.1.8.1.4.1.8.1. Module Contents

17.1.1.8.1.4.1.8.1.1. Functions

test_read_pickle(data_directory, mini_model, load_function)

Test the reading of model from pickle.

test_write_pickle(tmpdir, mini_model, dump_function)

Test the writing of model to pickle.

cobra.test.test_io.test_pickle.cload[source]
cobra.test.test_io.test_pickle.test_read_pickle(data_directory, mini_model, load_function)[source]

Test the reading of model from pickle.

cobra.test.test_io.test_pickle.test_write_pickle(tmpdir, mini_model, dump_function)[source]

Test the writing of model to pickle.