code: def test_attributes_return_more_mocks_by_default(self):
      m = mock.Mock()
  
      self.assertIsInstance(m.test, mock.Mock)
      self.assertIsInstance(m.test(), mock.Mock)
      self.assertIsInstance(m.test().test2(), mock.Mock)
  
imports: import unittest
  from unittest import mock
label_desc: Use image node_id 1 for calling the TestSealable obj's underlying member method code with example usage: obj.test_attributes_return_more_mocks_by_default() without return types