#NEWLINE# def test_unnamed( self ) : #NEWLINE# #INDENT# c = self . make_container ( ) #NEWLINE# d = UnnamedDocument ( content = 'hello' , container = c ) #NEWLINE# self . session . add ( d ) #NEWLINE# self . session . commit ( ) #NEWLINE# self . assertEqual ( c . id , 1 ) #NEWLINE# self . assertEqual ( d . id , 1 )