17.38. test_json

Test functionalities of json.py

17.38.1. Module Contents

17.38.1.1. Functions

json_schema_v1()

test_validate_json(data_directory, json_schema_v1)

Validate file according to JSON-schema.

test_load_json_model(data_directory, mini_model)

Test the reading of JSON model.

test_save_json_model(tmpdir, mini_model, json_schema_v1)

Test the writing of JSON model.

test_reaction_bounds_json(data_directory, tmp_path)

Test reading and writing of model with inf bounds in json

test_json.json_schema_v1()[source]
test_json.test_validate_json(data_directory, json_schema_v1)[source]

Validate file according to JSON-schema.

test_json.test_load_json_model(data_directory, mini_model)[source]

Test the reading of JSON model.

test_json.test_save_json_model(tmpdir, mini_model, json_schema_v1)[source]

Test the writing of JSON model.

test_json.test_reaction_bounds_json(data_directory, tmp_path)[source]

Test reading and writing of model with inf bounds in json