##// END OF EJS Templates
fixed tests
marcink -
r2194:ec6691dd beta
parent child Browse files
Show More
@@ -75,11 +75,15 b' class TestChangeSetCommentsController(Te'
75 repo_name=HG_REPO, revision=rev))
75 repo_name=HG_REPO, revision=rev))
76 #test DB
76 #test DB
77 self.assertEqual(ChangesetComment.query().count(), 1)
77 self.assertEqual(ChangesetComment.query().count(), 1)
78 self.assertTrue('''<div class="comments-number">0 comment(s)'''
78 response.mustcontain(
79 ''' (%s inline)</div>''' % 1 in response.body)
79 '''<div class="comments-number">0 comment(s)'''
80 self.assertTrue('''<div class="inline-comment-placeholder-line"'''
80 ''' (%s inline)</div>''' % 1
81 ''' line="n1" target_id="vcswebsimplevcsviews'''
81 )
82 '''repositorypy">''' in response.body)
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 self.assertEqual(Notification.query().count(), 1)
88 self.assertEqual(Notification.query().count(), 1)
85 self.assertEqual(ChangesetComment.query().count(), 1)
89 self.assertEqual(ChangesetComment.query().count(), 1)
General Comments 0
You need to be logged in to leave comments. Login now