#NEWLINE# def test_tag( self ) : #NEWLINE# #INDENT# container = Container . objects . all ( ) #NEWLINE# exclude = exclude_queryset_by ( container , published = True ) #NEWLINE# self . assertTrue ( exclude ) #NEWLINE# self . assertEqual ( len ( container ) , 2 ) #NEWLINE# self . assertEqual ( len ( exclude ) , 1 )