mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 08:03:19 +02:00
Enable unit tests of certbot core on Python 3
This commit is contained in:
+2
-1
@@ -8,6 +8,7 @@ import socket
|
||||
from cryptography.hazmat.primitives import serialization
|
||||
import pyrfc3339
|
||||
import pytz
|
||||
import six
|
||||
import zope.component
|
||||
|
||||
from acme import fields as acme_fields
|
||||
@@ -108,7 +109,7 @@ class AccountMemoryStorage(interfaces.AccountStorage):
|
||||
self.accounts = initial_accounts if initial_accounts is not None else {}
|
||||
|
||||
def find_all(self):
|
||||
return self.accounts.values()
|
||||
return list(six.itervalues(self.accounts))
|
||||
|
||||
def save(self, account):
|
||||
if account.id in self.accounts:
|
||||
|
||||
Reference in New Issue
Block a user