#NEWLINE# def testOverrideDefaultCategory( self ) : #NEWLINE# #INDENT# a = Gaffer . ApplicationRoot ( 'testApp' ) #NEWLINE# bd = GafferUI . Bookmarks . acquire ( a , Gaffer . FileSystemPath , category = None ) #NEWLINE# bc = GafferUI . Bookmarks . acquire ( a , Gaffer . FileSystemPath , category = 'myCategory' ) #NEWLINE# bd . add ( 'a' , '/a' ) #NEWLINE# bc . add ( 'a' , '/aa' ) #NEWLINE# self . assertEqual ( bc . names ( ) , [ 'a' ] ) #NEWLINE# self . assertEqual ( bd . names ( ) , [ 'a' ] ) #NEWLINE# self . assertEqual ( bd . get ( 'a' ) , '/a' ) #NEWLINE# self . assertEqual ( bc . get ( 'a' ) , '/aa' )