code: def test_get_interface_nodes_convergent_edges(self):
      # convergent interface edges to one node(a0,b0->b1). issue #1364
      self.network.add_edges_from(
          [
              (("A", 0), ("B", 1)),
              (("B", 0), ("B", 1)),
              (("A", 0), ("B", 0)),
              (("A", 1), ("B", 1)),
          ]
      )
      self.assertListEqual(
          self.network.get_interface_nodes(0), [("A", 0), ("B", 0)]
      )
      self.assertListEqual(
          self.network.get_interface_nodes(1), [("B", 1), ("B", 1)]
      )
  
imports: import unittest
  import numpy
  import numpy.testing
  import pandas
  import pgmpy.tests.help_functions
  from pgmpy.factors.discrete import TabularCPD
  from pgmpy.inference import CausalInference, DBNInference, VariableElimination
  from pgmpy.models import BayesianNetwork
  from pgmpy.models import DynamicBayesianNetwork
label_desc: Use image node_id 6 for calling the TestDynamicBayesianNetworkMethods obj's underlying member method code with example usage: obj.test_get_interface_nodes_convergent_edges() without return types