fix caps query verification.

This commit is contained in:
Yann Leboulanger 2009-11-05 19:24:27 +01:00
parent c8cc5be366
commit eb32680a91
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ class NullClientCaps(AbstractClientCaps):
def _lookup_in_cache(self, caps_cache):
# lookup something which does not exist to get a new CacheItem created
cache_item = caps_cache[('dummy', '')]
assert cache_item.queried == 0
assert cache_item.queried != 2
return cache_item
def _discover(self, connection, jid):