#NEWLINE# def test_constants_from_list( self ) : #NEWLINE# #INDENT# c = constants . Constants . from_list ( [ 'x' , 'y' , 'z' ] , namespace = A ) #NEWLINE# self . assertEqual ( c . x , A . x ) #NEWLINE# self . assertEqual ( c [ 'x' ] , A . x )