#NEWLINE# def test_mac_chrome( self ) : #NEWLINE# #INDENT# for x in range ( 100 ) : #NEWLINE# #INDENT# ua = generate_user_agent ( platform = 'mac' , navigator = 'chrome' ) #NEWLINE# self . assertTrue ( re . search ( 'OS X \\d+_\\d+(_\\d+\\b|\\b)' , self ) )