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