code: def test(self):
      node = self.call_it("Abbr (Abbreviation)")
      self.assertEqual(node.astext(), "Abbr")
      self.assertEqual(node["explanation"], "Abbreviation")
  
imports: from unittest.mock import Mock
  from pelican.tests.support import unittest
label_desc: Use image node_id 2 for calling the Test_abbr_role obj's underlying member method code with example usage: obj.test() without return types