Show More
@@ -75,11 +75,15 b' class TestChangeSetCommentsController(Te' | |||
|
75 | 75 | repo_name=HG_REPO, revision=rev)) |
|
76 | 76 | #test DB |
|
77 | 77 | self.assertEqual(ChangesetComment.query().count(), 1) |
|
78 | self.assertTrue('''<div class="comments-number">0 comment(s)''' | |
|
79 | ''' (%s inline)</div>''' % 1 in response.body) | |
|
80 | self.assertTrue('''<div class="inline-comment-placeholder-line"''' | |
|
81 | ''' line="n1" target_id="vcswebsimplevcsviews''' | |
|
82 | '''repositorypy">''' in response.body) | |
|
78 | response.mustcontain( | |
|
79 | '''<div class="comments-number">0 comment(s)''' | |
|
80 | ''' (%s inline)</div>''' % 1 | |
|
81 | ) | |
|
82 | response.mustcontain( | |
|
83 | '''<div style="display:none" class="inline-comment-placeholder" ''' | |
|
84 | '''path="vcs/web/simplevcs/views/repository.py" ''' | |
|
85 | '''target_id="vcswebsimplevcsviewsrepositorypy">''' | |
|
86 | ) | |
|
83 | 87 | |
|
84 | 88 | self.assertEqual(Notification.query().count(), 1) |
|
85 | 89 | self.assertEqual(ChangesetComment.query().count(), 1) |
General Comments 0
You need to be logged in to leave comments.
Login now