17.1.1.8.1.4.1.5. cobra.test.test_io.test_json
¶
Test functionalities of json.py
17.1.1.8.1.4.1.5.1. Module Contents¶
17.1.1.8.1.4.1.5.1.1. Functions¶
|
Validate file according to JSON-schema. |
|
Test the reading of JSON model. |
|
Test the writing of JSON model. |
|
Test reading and writing of model with inf bounds in json |
-
cobra.test.test_io.test_json.
test_validate_json
(data_directory, json_schema_v1)[source]¶ Validate file according to JSON-schema.
-
cobra.test.test_io.test_json.
test_load_json_model
(data_directory, mini_model)[source]¶ Test the reading of JSON model.