webhooks: Rename webhook fixtures to only include event type.

All webhook fixtures have now been renamed from
<webhook_name>/fixtures/<webhook_name>_<event_type>.json to
<webhook_name>/fixtures/<event_type>.json.
This commit is contained in:
Eeshan Garg 2017-05-13 20:04:33 -02:30
parent acb3c1e7ff
commit 597db11a98
381 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,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__),
"../webhooks/%s/fixtures/%s_%s.%s" % (type, type, action, file_type))).read())
"../webhooks/%s/fixtures/%s.%s" % (type, action, file_type))).read())
def make_stream(self, stream_name, realm=None, invite_only=False):
# type: (Text, Optional[Realm], Optional[bool]) -> Stream

Some files were not shown because too many files have changed in this diff Show More