black reformatting.
This commit is contained in:
parent
b0a94124d2
commit
7b3c8d2ba8
1 changed files with 31 additions and 39 deletions
|
|
@ -67,9 +67,7 @@ class TestPubsubCache:
|
|||
items_ret.callback(([], {}))
|
||||
client.pubsub_client.items = MagicMock(return_value=items_ret)
|
||||
host.memory.storage.get_pubsub_node.return_value = None
|
||||
host.memory.storage.set_pubsub_node.return_value = PubsubNode(
|
||||
sync_state=None
|
||||
)
|
||||
host.memory.storage.set_pubsub_node.return_value = PubsubNode(sync_state=None)
|
||||
with patch.object(host.plugins["PUBSUB_CACHE"], "cache_node") as cache_node:
|
||||
await host.plugins["XEP-0060"].get_items(
|
||||
client,
|
||||
|
|
|
|||
Loading…
Reference in a new issue