def METHOD_NAME(self):
    # given
    manager = ModelManager()
    manager.models[BasicRangeModel.name] = BasicRangeModel
    bad_name = "bad-model"
    # when/then
    with pytest.raises(ValueError):
        manager.get_model_config(1, bad_name)