fix caps query verification.
This commit is contained in:
		
							parent
							
								
									c8cc5be366
								
							
						
					
					
						commit
						eb32680a91
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue