#NEWLINE# def test_slug( self ) : #NEWLINE# #INDENT# field = Field . _meta . get_field_by_name ( 'slug' ) [ 0 ] #NEWLINE# self . assertEqual ( field . __class__ , models . SlugField ) #NEWLINE# self . assertEqual ( field . max_length , 255 ) #NEWLINE# self . assertFalse ( field . null ) #NEWLINE# self . assertFalse ( field . blank )