#NEWLINE# def test_cmdInit( self ) : #NEWLINE# #INDENT# with pm . formLayout ( ) as fl : #NEWLINE# #INDENT# self . assertEqual ( pm . currentParent ( ) , fl ) #NEWLINE# #UNINDENT# self . assertEqual ( pm . currentParent ( ) , cl . win ) #NEWLINE# with pm . rowLayout ( ) as rl : #NEWLINE# #INDENT# self . assertEqual ( pm . currentParent ( ) , rl ) #NEWLINE# #UNINDENT# self . assertEqual ( pm . currentParent ( ) , fl ) #NEWLINE# with pm . columnLayout ( ) as cl : #NEWLINE# #INDENT# self . assertEqual ( pm . currentParent ( ) , cl ) #NEWLINE# #UNINDENT# self . assertEqual ( pm . currentParent ( ) , fl )