~gary/python-openid/python-openid-2.2.1-patched

« back to all changes in this revision

Viewing changes to openid/test/storetest.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2007-12-10 10:29:01 UTC
  • mfrom: (2.1.2 pyopenid-2.1)
  • Revision ID: launchpad@pqm.canonical.com-20071210102901-f5mk3xr5ggx0vtwh
[rs=jamesh] Upgrade to python-openid-2.1 for better support of final OpenID 2.0 standard

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
def getTmpDbName():
26
26
    hostname = socket.gethostname()
27
 
    hostname.replace('.', '_')
 
27
    hostname = hostname.replace('.', '_')
 
28
    hostname = hostname.replace('-', '_')
28
29
    return "%s_%d_%s_openid_test" % \
29
30
           (hostname, os.getpid(), \
30
31
            random.randrange(1, int(time.time())))