def test_get_output_will_create_the_attribute(self):
        shot1 = pymel.core.createNode('shot')
        self.assertFalse(shot1.hasAttr('output'))
        result = shot1.get_output()
        self.assertTrue(shot1.hasAttr('output'))
        self.assertEqual(result, '')
testing if get_output method will create the attribute if missing
dataset/ETHPy150Open eoyilmaz/anima/tests/previs/test_shot_extension.py/ShotExtensionTestCase.test_get_output_will_create_the_attribute