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:
PIG208
2021-06-26 15:18:33 +08:00
committed by Tim Abbott
parent b720e10d88
commit 5ecbfecd77
81 changed files with 89 additions and 89 deletions

View File

@@ -6,7 +6,7 @@ from zerver.lib.test_classes import WebhookTestCase
class FrontHookTests(WebhookTestCase):
STREAM_NAME = "front"
URL_TEMPLATE = "/api/v1/external/front?&api_key={api_key}&stream={stream}"
FIXTURE_DIR_NAME = "front"
WEBHOOK_DIR_NAME = "front"
# Scenario 1: Conversation starts from an outbound message.