Skip to content

Commit d527657

Browse files
author
Kevin Turner
committed
[project @ python 2.3 does not have assertTrue]
1 parent 17dd731 commit d527657

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

openid/test/test_pape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
class PapeImportTestCase(unittest.TestCase):
77
def test_version(self):
88
from openid.extensions.draft import pape5
9-
self.assertTrue(pape is pape5)
9+
self.assert_(pape is pape5)

openid/test/test_pape_draft5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_addAuthLevel(self):
5353
# alias is None; we expect a new one to be generated.
5454
uri = 'http://another.example.com/'
5555
self.req.addAuthLevel(uri)
56-
self.assertTrue(uri in self.req.auth_level_aliases.values())
56+
self.assert_(uri in self.req.auth_level_aliases.values())
5757

5858
# We don't expect a new alias to be generated if one already
5959
# exists.

0 commit comments

Comments
 (0)