mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
webhooks: Move all fixtures to zerver/webhooks/<webhook_name>/fixtures.
All webhook fixtures in zerver/fixtures/<webhook_name> have now been moved to dedicated webhook-specific directories under zerver/webhooks/<webhook_name>/fixtures, where <webhook_name> is the name of the webhook.
This commit is contained in:
@@ -410,7 +410,7 @@ class ZulipTestCase(TestCase):
|
||||
def fixture_data(self, type, action, file_type='json'):
|
||||
# type: (Text, Text, Text) -> Text
|
||||
return force_text(open(os.path.join(os.path.dirname(__file__),
|
||||
"../fixtures/%s/%s_%s.%s" % (type, type, action, file_type))).read())
|
||||
"../webhooks/%s/fixtures/%s_%s.%s" % (type, type, action, file_type))).read())
|
||||
|
||||
def make_stream(self, stream_name, realm=None, invite_only=False):
|
||||
# type: (Text, Optional[Realm], Optional[bool]) -> Stream
|
||||
|
||||
Reference in New Issue
Block a user