#NEWLINE# def test_register_no_model_collection( self ) : #NEWLINE# #INDENT# DummyView = self . _dummy_view ( ) #NEWLINE# view = DummyView ( ) #NEWLINE# view . Model . __name__ = 'Foo' #NEWLINE# view . request . _user . _acl = [ ] #NEWLINE# assert ( view . register ( ) == 1 ) #NEWLINE# assert ( view . request . _user . _acl == [ ] )