Beispiel #1
0
def test_distinct_class_versus_validator_instance_biolink_version():
    Validator.set_biolink_model(version="1.7.0")
    validator = Validator()
    Validator.set_biolink_model(version="1.8.2")
    validator_class_tk = Validator.get_toolkit()
    validation_instance_version = validator.get_validation_model_version()
    assert validation_instance_version != validator_class_tk.get_model_version()
Beispiel #2
0
def test_distinct_validator_class_versus_default_toolkit_biolink_version():
    Validator.set_biolink_model(version="1.8.2")
    default_tk = get_toolkit()
    validator_tk = Validator.get_toolkit()
    assert default_tk.get_model_version() != validator_tk.get_model_version()