mirror of
https://github.com/certbot/certbot.git
synced 2026-03-23 10:53:11 -04:00
Remove type()
This commit is contained in:
parent
a773c264c0
commit
bdabdb519f
2 changed files with 2 additions and 2 deletions
|
|
@ -462,7 +462,7 @@ class PathSatisfiedTest(unittest.TestCase):
|
|||
|
||||
def gen_auth_resp(chall_list):
|
||||
"""Generate a dummy authorization response."""
|
||||
return ["%s%s" % (type(chall).__name__, chall.domain)
|
||||
return ["%s%s" % (chall.__class__.__name__, chall.domain)
|
||||
for chall in chall_list]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ class CleanupTest(unittest.TestCase):
|
|||
|
||||
def gen_client_resp(chall):
|
||||
"""Generate a dummy response."""
|
||||
return "%s%s" % (type(chall).__name__, chall.domain)
|
||||
return "%s%s" % (chall.__class__.__name__, chall.domain)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Reference in a new issue