mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	tests: Flush per-request caches automatically for query counts.
This commit is contained in:
		@@ -176,7 +176,6 @@ class MessageDictTest(ZulipTestCase):
 | 
			
		||||
        num_ids = len(ids)
 | 
			
		||||
        self.assertTrue(num_ids >= 600)
 | 
			
		||||
 | 
			
		||||
        flush_per_request_caches()
 | 
			
		||||
        with self.assert_database_query_count(7):
 | 
			
		||||
            rows = list(MessageDict.get_raw_db_rows(ids))
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user