#NEWLINE# def test_none( self ) : #NEWLINE# #INDENT# self . assertQuerysetEqual ( Article . objects . none ( ) , [ ] ) #NEWLINE# self . assertQuerysetEqual ( Article . objects . none ( ) . filter ( headline__startswith = 'Article' ) , [ ] ) #NEWLINE# self . assertQuerysetEqual ( Article . objects . filter ( headline__startswith = 'Article' ) . none ( ) , [ ] ) #NEWLINE# self . assertEqual ( Article . objects . none ( ) . count ( ) , 0 ) #NEWLINE# self . assertEqual ( Article . objects . none ( ) . update ( headline = 'This should not take effect' ) , 0 ) #NEWLINE# self . assertQuerysetEqual ( [ self for article in Article . objects . none ( ) . iterator ( ) ] , [ ] )