mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	profile_request.py: Fix line with length greater than 120.
This updates file zilencer/management/commands/profile_request.py.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							57253c6ba3
						
					
				
				
					commit
					230cc228c2
				
			@@ -24,9 +24,11 @@ class MockRequest(HttpRequest):
 | 
			
		||||
        self.path = '/'
 | 
			
		||||
        self.method = "POST"
 | 
			
		||||
        self.META = {"REMOTE_ADDR": "127.0.0.1"}
 | 
			
		||||
        self.REQUEST = {"anchor": UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id,
 | 
			
		||||
                        "num_before": 1200,
 | 
			
		||||
                        "num_after": 200}
 | 
			
		||||
        self.REQUEST = {
 | 
			
		||||
            "anchor": UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id,
 | 
			
		||||
            "num_before": 1200,
 | 
			
		||||
            "num_after": 200
 | 
			
		||||
        }
 | 
			
		||||
        self.GET = {} # type: Dict[Any, Any]
 | 
			
		||||
        self.session = MockSession()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user