def test_execute_queue(self):
queue = core.ComponentQueue()
comp = Component(sphere_name='sphere1')
queue.add(comp)
comp = Component(sphere_name='sphere2')
queue.add(comp)
queue.execute()
self.assertTrue(cmds.objExists('sphere1'))
self.assertTrue(cmds.objExists('sphere2'))
评论列表
文章目录