fix caps query verification.
This commit is contained in:
parent
c8cc5be366
commit
eb32680a91
|
@ -199,7 +199,7 @@ class NullClientCaps(AbstractClientCaps):
|
||||||
def _lookup_in_cache(self, caps_cache):
|
def _lookup_in_cache(self, caps_cache):
|
||||||
# lookup something which does not exist to get a new CacheItem created
|
# lookup something which does not exist to get a new CacheItem created
|
||||||
cache_item = caps_cache[('dummy', '')]
|
cache_item = caps_cache[('dummy', '')]
|
||||||
assert cache_item.queried == 0
|
assert cache_item.queried != 2
|
||||||
return cache_item
|
return cache_item
|
||||||
|
|
||||||
def _discover(self, connection, jid):
|
def _discover(self, connection, jid):
|
||||||
|
|
Loading…
Reference in New Issue