Ignore certain lines for code coverage.
svn path=/plone.app.discussion/trunk/; revision=40494
This commit is contained in:
		
							parent
							
								
									f5cf756e31
								
							
						
					
					
						commit
						603bcf3547
					
				| @ -211,7 +211,7 @@ class CommentForm(extensible.ExtensibleForm, form.Form): | |||||||
|     def handleCancel(self, action): |     def handleCancel(self, action): | ||||||
|         # This method should never be called, it's only there to show |         # This method should never be called, it's only there to show | ||||||
|         # a cancel button that is handled by a jQuery method. |         # a cancel button that is handled by a jQuery method. | ||||||
|         pass |         pass # pragma: no cover | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class CommentsViewlet(ViewletBase): | class CommentsViewlet(ViewletBase): | ||||||
| @ -261,7 +261,7 @@ class CommentsViewlet(ViewletBase): | |||||||
|                 self.get_replies(workflow_actions).next() |                 self.get_replies(workflow_actions).next() | ||||||
|                 return True |                 return True | ||||||
|             except StopIteration: |             except StopIteration: | ||||||
|                 pass |                 pass # pragma: no cover | ||||||
|         return False |         return False | ||||||
| 
 | 
 | ||||||
|     def get_replies(self, workflow_actions=False): |     def get_replies(self, workflow_actions=False): | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user