def test_set_task_name_is_working_properly(self):
    'testing if set_task_name() is working properly\n        '
    sm = pymel.core.PyNode('sequenceManager1')
    self.assertFalse(sm.hasAttr('task_name'))
    test_task_name = 'Animation'
    sm.set_task_name(test_task_name)
    self.assertTrue(sm.hasAttr('task_name'))
    self.assertEqual(sm.task_name.get(), test_task_name)
testing if set_task_name() is working properly
def test_set_task_name_is_working_properly(self):
    '\n        '
    sm = pymel.core.PyNode('sequenceManager1')
    self.assertFalse(sm.hasAttr('task_name'))
    test_task_name = 'Animation'
    sm.set_task_name(test_task_name)
    self.assertTrue(sm.hasAttr('task_name'))
    self.assertEqual(sm.task_name.get(), test_task_name)