Skip to content

Commit

Permalink
must use assertEquals
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jun 25, 2015
1 parent c18eb6a commit 2c2a3a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plone/app/widgets/tests/test_browser.py
Expand Up @@ -190,8 +190,8 @@ def testVocabularyEncoding(self):
results = json.loads(results)
result = results['results'][0]

self.assertTrue(result['text'], test_val)
self.assertTrue(result['id'], test_val)
self.assertEquals(result['text'], test_val)
self.assertEquals(result['id'], test_val)

def testVocabularyUnauthorized(self):
setRoles(self.portal, TEST_USER_ID, [])
Expand Down

0 comments on commit 2c2a3a4

Please sign in to comment.