#NEWLINE# def testGetMACFromData( self ) : #NEWLINE# #INDENT# 'Test _GetMACFromData.' #NEWLINE# mac_data = ( 0 , 62 , 225 , 190 , 73 , 13 ) #NEWLINE# mac_str = '00:3e:e1:be:49:0d' #NEWLINE# buf = struct . pack ( '6B' , * mac_data ) #NEWLINE# self . assertEqual ( mac_str , systemconfig . _GetMACFromData ( buf ) )