##// END OF EJS Templates
tests: fixed pull requests my account tests.
marcink -
r275:497f5ccd default
parent child Browse files
Show More
@@ -85,9 +85,12 b' class TestMyAccountController(TestContro'
85 response = self.app.get(url('my_account_pullrequests'))
85 response = self.app.get(url('my_account_pullrequests'))
86 response.mustcontain('You currently have no open pull requests.')
86 response.mustcontain('You currently have no open pull requests.')
87
87
88 pr = pr_util.create_pull_request()
88 pr = pr_util.create_pull_request(title='TestMyAccountPR')
89 response = self.app.get(url('my_account_pullrequests'))
89 response = self.app.get(url('my_account_pullrequests'))
90 response.mustcontain('Pull request #%d opened' % pr.pull_request_id)
90 response.mustcontain('There are currently no open pull requests '
91 'requiring your participation')
92
93 response.mustcontain('#%s: TestMyAccountPR' % pr.pull_request_id)
91
94
92 def test_my_account_my_emails(self):
95 def test_my_account_my_emails(self):
93 self.log_user()
96 self.log_user()
General Comments 0
You need to be logged in to leave comments. Login now