Skip to content

Commit

Permalink
Merge pull request #79 from plone/investigate-failure
Browse files Browse the repository at this point in the history
Improve test assertion
  • Loading branch information
mauritsvanrees authored Jun 12, 2019
2 parents 8ac0aa3 + 8bb638a commit f3cc807
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/78.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve test assertion [ale-rt]
5 changes: 4 additions & 1 deletion plone/app/users/tests/test_pam.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ def test_pam(self):
browser = z2.Browser(self.layer['app'])
browser.addHeader('Authorization', 'Basic %s:%s' % (TEST_USER_NAME, TEST_USER_PASSWORD))
browser.open('http://nohost/plone/fr/@@personal-information')
self.assertTrue('Saisissez votre nom complet, par exemple Jean Dupont.' in browser.contents)
self.assertIn(
'Saisissez votre nom complet, par exemple Jean Dupont.',
browser.contents,
)

0 comments on commit f3cc807

Please sign in to comment.