code: def test_no_terms():
      """
      Tests an ARIMA model with no AR or MA terms, and that
      the latent variable list length is correct, and that the estimated
      latent variables are not nan
      """
      model = ARIMA(data=data, ar=0, ma=0, family=Laplace())
      x = model.fit()
      assert len(model.latent_variables.z_list) == 2
      lvs = np.array([i.value for i in model.latent_variables.z_list])
      assert len(lvs[np.isnan(lvs)]) == 0
  
imports: import numpy
  from pyflux.arma import ARIMA
  from pyflux.families import Laplace
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_terms() without return types