kopia lustrzana https://github.com/snarfed/bridgy-fed
rodzic
bf296802d8
commit
c1acec1a3f
|
@ -11,6 +11,7 @@ from unittest.mock import ANY, call
|
||||||
from urllib.parse import urlencode
|
from urllib.parse import urlencode
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
from arroba import did
|
||||||
import arroba.util
|
import arroba.util
|
||||||
from arroba.util import datetime_to_tid
|
from arroba.util import datetime_to_tid
|
||||||
from bs4 import MarkupResemblesLocatorWarning
|
from bs4 import MarkupResemblesLocatorWarning
|
||||||
|
@ -197,6 +198,9 @@ class TestCase(unittest.TestCase, testutil.Asserts):
|
||||||
protocol.Protocol.for_id.cache.clear()
|
protocol.Protocol.for_id.cache.clear()
|
||||||
common.webmention_discover.cache.clear()
|
common.webmention_discover.cache.clear()
|
||||||
User.count_followers.cache.clear()
|
User.count_followers.cache.clear()
|
||||||
|
did.resolve_handle.cache.clear()
|
||||||
|
did.resolve_plc.cache.clear()
|
||||||
|
did.resolve_web.cache.clear()
|
||||||
|
|
||||||
for cls in Fake, OtherFake:
|
for cls in Fake, OtherFake:
|
||||||
cls.fetchable = {}
|
cls.fetchable = {}
|
||||||
|
|
Ładowanie…
Reference in New Issue