#NEWLINE# def test_utils_print_package_info( self ) : #NEWLINE# #INDENT# sample = 'Repository     : aur\nName           : pkgbuilderts\nPackage Base   : pkgbuilder\nVersion        : 3.2.0-1\nURL            : https://github.com/Kwpolska/pkgbuilder\nLicenses       : BSD\nGroups         : None\nProvides       : None\nDepends On     : python  pyalpm>=0.5.1-1  python-requests  rsync\nMake Deps      : None\nCheck Deps     : None\nOptional Deps  : None\nConflicts With : None\nReplaces       : None\nVotes          : 19\nPopularity     : 7\nOut of Date    : \x1b[1;1m\x1b[1;31myes\x1b[1;0m\nMaintainer     : Kwpolska\nFirst Submitted: 2011-09-20T14:46:33Z\nLast Updated   : 2014-03-25T14:24:32Z\nDescription    : A Python AUR helper/library.\nKeywords       : foo  bar\n' #NEWLINE# req = pkgbuilder . utils . print_package_info ( [ self . fpkg ] , True ) #NEWLINE# self . assertEqual ( req , sample )