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