python: Sort webhooks imports with isort.

This commit is contained in:
Tim Abbott
2020-01-14 13:06:24 -08:00
parent 8e7ce7cc79
commit c10cc24ee8
129 changed files with 238 additions and 180 deletions

View File

@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from zerver.lib.test_classes import WebhookTestCase
class AppveyorHookTests(WebhookTestCase):
STREAM_NAME = 'appveyor'
URL_TEMPLATE = "/api/v1/external/appveyor?api_key={api_key}&stream={stream}"

View File

@@ -2,9 +2,10 @@ from typing import Any, Dict
from django.http import HttpRequest, HttpResponse
from zerver.lib.webhooks.common import check_send_webhook_message
from zerver.decorator import REQ, api_key_only_webhook_view, \
has_request_variables
from zerver.lib.response import json_success
from zerver.decorator import REQ, has_request_variables, api_key_only_webhook_view
from zerver.lib.webhooks.common import check_send_webhook_message
from zerver.models import UserProfile
APPVEYOR_TOPIC_TEMPLATE = '{project_name}'