code: def test_get_network_type(self):
      network_type_expected = "MARKOV"
      self.assertEqual(
          self.reader_string.network_type, network_type_expected
      )
      self.assertEqual(
          self.reader_string_with_comment.network_type,
          network_type_expected,
      )
  
imports: import unittest
  import networkx
  import numpy
  from pgmpy import config
  from pgmpy.factors.discrete import DiscreteFactor, TabularCPD
  from pgmpy.models import BayesianNetwork, MarkovNetwork
  from pgmpy.readwrite import UAIReader, UAIWriter
label_desc: Use image node_id 2 for calling the TestUAIReader obj's underlying member method code with example usage: obj.test_get_network_type() without return types