rebased CHANGES and tests
This commit is contained in:
		
							parent
							
								
									22cc340ff6
								
							
						
					
					
						commit
						dec8bd63dd
					
				@ -73,8 +73,8 @@ Changelog
 | 
			
		||||
  PLONE_FIXTURE.
 | 
			
		||||
  [timo]
 | 
			
		||||
 | 
			
		||||
- Fix ownership of comments. [toutpt]
 | 
			
		||||
 | 
			
		||||
- Fix ownership of comments.
 | 
			
		||||
  [toutpt]
 | 
			
		||||
 | 
			
		||||
2.2.10 (2013-09-24)
 | 
			
		||||
-------------------
 | 
			
		||||
 | 
			
		||||
@ -188,6 +188,7 @@ class TestCommentForm(unittest.TestCase):
 | 
			
		||||
        for comment in comments:
 | 
			
		||||
            self.assertEqual(comment.text, u"foobar")
 | 
			
		||||
            self.assertEqual(comment.creator, "test_user_1_")
 | 
			
		||||
 | 
			
		||||
            self.assertEqual(comment.getOwner().getUserName(), "test-user")
 | 
			
		||||
            local_roles = comment.get_local_roles()
 | 
			
		||||
            self.assertEqual(len(local_roles), 1)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user