Permalink
Browse files

[project @ python 2.3 does not have assertTrue]

  • Loading branch information...
1 parent 17dd731 commit d527657eaa6a49d4b50d25fff8d7bec4b77e9994 Kevin Turner committed Oct 31, 2008
Showing with 2 additions and 2 deletions.
  1. +1 −1 openid/test/test_pape.py
  2. +1 −1 openid/test/test_pape_draft5.py
@@ -6,4 +6,4 @@
class PapeImportTestCase(unittest.TestCase):
def test_version(self):
from openid.extensions.draft import pape5
- self.assertTrue(pape is pape5)
+ self.assert_(pape is pape5)
@@ -53,7 +53,7 @@ def test_addAuthLevel(self):
# alias is None; we expect a new one to be generated.
uri = 'http://another.example.com/'
self.req.addAuthLevel(uri)
- self.assertTrue(uri in self.req.auth_level_aliases.values())
+ self.assert_(uri in self.req.auth_level_aliases.values())
# We don't expect a new alias to be generated if one already
# exists.

0 comments on commit d527657

Please sign in to comment.