Skip to content

Commit

Permalink
Update src/Products/SiteErrorLog/tests/testSiteErrorLog.py
Browse files Browse the repository at this point in the history
Thats what you get for not using unittest.TestCase assertions anymore.a

Co-Authored-By: dwt <spamfaenger@gmx.de>
  • Loading branch information
Michael Howitz and dwt committed Dec 17, 2018
1 parent 9b1923c commit 64d552c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Products/SiteErrorLog/tests/testSiteErrorLog.py
Expand Up @@ -213,7 +213,7 @@ def setUp(self):
def testSubmitRetainsIgnoredExceptionsUnchanged(self):
# Checks the fix for https://github.com/zopefoundation/Products.SiteErrorLog/issues/13
ignoredExceptions = self.browser.getControl(label='Ignored exception types')
self.assertEquals(ignoredExceptions.value, 'Unauthorized\nNotFound\nRedirect') # default value
self.assertEqual(ignoredExceptions.value, 'Unauthorized\nNotFound\nRedirect') # default value
self.browser.getControl('Save Changes').click()
ignoredExceptions = self.browser.getControl(label='Ignored exception types')
self.assertEquals(ignoredExceptions.value, 'Unauthorized\nNotFound\nRedirect')
Expand Down

0 comments on commit 64d552c

Please sign in to comment.