class_docstr: Test behaviour of query and interventions
docstr: Do should accept only state probabilities where all states in the original cpds are present
code: def test_do_expects_all_states_have_a_probability(self, bn):
      """Do should accept only state probabilities where all states in the original cpds are present"""
  
      ie = InferenceEngine(bn)
  
      with pytest.raises(
          ValueError,
          match="The cpd states do not match expected states*",
      ):
          ie.do_intervention("d", {False: 1})
  
imports: import math
  import pytest
  from causalnex.inference import InferenceEngine
  from causalnex.network import BayesianNetwork
  from causalnex.structure import StructureModel
  from causalnex.structure.notears import from_pandas
label_desc: Use image node_id 10 for calling the TestInferenceEngineDiscrete obj's underlying member method code with example usage: obj.test_do_expects_all_states_have_a_probability(bn) without return types