[CMF-checkins] CVS: CMF/CMFDefault/tests - test_join.py:1.5
Tres Seaver
tseaver@zope.com
Mon, 1 Apr 2002 15:21:29 -0500
Update of /cvs-repository/CMF/CMFDefault/tests
In directory cvs.zope.org:/tmp/cvs-serv13267/CMFDefault/tests
Modified Files:
test_join.py
Log Message:
- Made generated home pages for new members participate fully in
workflow (Tracker #467).
=== CMF/CMFDefault/tests/test_join.py 1.4 => 1.5 ===
}
)
- assert site.acl_users.getUser( 'test_user' )
+ self.failUnless( site.acl_users.getUser( 'test_user' ) )
+ memberfolder = site.Members.test_user
+ homepage = memberfolder.index_html
+ self.assertEqual( memberfolder.Title(), "test_user's Home" )
+ tool = site.portal_workflow
+ self.assertEqual( tool.getInfoFor( homepage, 'review_state' )
+ , "private" )
def test_suite():