code: def test_no_fit(self, iris_test_data, iris_edge_list):
      df = iris_test_data.copy()
      df.drop(["sepal length (cm)"], axis=1, inplace=True)
      clf = BayesianNetworkClassifier(iris_edge_list)
      with pytest.raises(
          ValueError,
          match="No CPDs found. The model has not been fitted",
      ):
          clf.predict(df)
  
file_path: causalnex/tests/test_network_model.py
imports: import math
  import numpy
  import pytest
  from causalnex.network.sklearn import BayesianNetworkClassifier
label_desc: Use image node_id 5 for calling the TestBayesianCPDs obj's underlying member method code with example usage: obj.test_no_fit(iris_test_data, iris_edge_list) without return types