code: def test_set_prior_unexisting_term():
      rng = np.random.default_rng(121195)
      data = pd.DataFrame(
          {
              "y": rng.normal(size=100),
              "x": rng.normal(size=100),
          }
      )
      prior = bmb.Prior("Uniform", lower=0, upper=50)
      model = bmb.Model("y ~ x", data)
      with pytest.raises(KeyError):
          model.set_priors(priors={"z": prior})
  
imports: from os.path import dirname, join
  import pytest
  import numpy
  import pymc
  import pandas
  from scipy import special
  import bambi
label_desc: Use image node_id 15 for calling a global function with example usage: test_set_prior_unexisting_term() without return types