#NEWLINE# def test_favorites_slug( self ) : #NEWLINE# #INDENT# c = Collection . objects . create ( author = self . user , slug = 'favorites' ) #NEWLINE# assert ( c . type == amo . COLLECTION_NORMAL ) #NEWLINE# assert ( c . slug == 'favorites~' ) #NEWLINE# c = Collection . objects . create ( author = self . user , slug = 'favorites' ) #NEWLINE# assert ( self . type == amo . COLLECTION_NORMAL ) #NEWLINE# assert ( c . slug == 'favorites~-1' )