#NEWLINE# def test_named_blank_disallowed( self ) : #NEWLINE# #INDENT# c1 = self . make_container ( ) #NEWLINE# d1 = NamedDocument ( title = 'Index' , name = '' , container = c1 ) #NEWLINE# d1 . name = '' #NEWLINE# self . session . add ( d1 ) #NEWLINE# self . assertRaises ( IntegrityError , self . session . commit )