mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
webhook: Rename FIXTURE_DIR_NAME to WEBHOOK_DIR_NAME.
Since FIXTURE_DIR_NAME is the name of the folder that contains the view and tests modules of the webhook and another folder called "fixtures" that store the fixtures, it is more appropriate to call it WEBHOOK_DIR_NAME, especially when we want to refer to the view module using this variable.
This commit is contained in:
@@ -4,7 +4,7 @@ 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}"
|
||||
FIXTURE_DIR_NAME = "appveyor"
|
||||
WEBHOOK_DIR_NAME = "appveyor"
|
||||
|
||||
def test_appveyor_build_success_message(self) -> None:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user