mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	python: Sort webhooks imports with isort.
This commit is contained in:
		@@ -3,6 +3,7 @@ from mock import MagicMock, patch
 | 
			
		||||
 | 
			
		||||
from zerver.lib.test_classes import WebhookTestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class GiteaHookTests(WebhookTestCase):
 | 
			
		||||
    STREAM_NAME = 'commits'
 | 
			
		||||
    URL_TEMPLATE = "/api/v1/external/giteae?&api_key={api_key}&stream={stream}"
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,6 @@ from zerver.models import UserProfile
 | 
			
		||||
# Gitea is a fork of Gogs, and so the webhook implementation is nearly the same.
 | 
			
		||||
from zerver.webhooks.gogs.view import gogs_webhook_main
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
fixture_to_headers = get_http_headers_from_filename("HTTP_X_GITEA_EVENT")
 | 
			
		||||
 | 
			
		||||
def format_pull_request_event(payload: Dict[str, Any],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user