tests: Refactor use of test and webhook data fixtures.

This commit is contained in:
Preston Hansen
2018-04-19 20:57:21 -05:00
committed by Tim Abbott
parent 76d6c71595
commit e168f9938c
47 changed files with 67 additions and 76 deletions

View File

@@ -153,4 +153,4 @@ class OpsGenieHookTests(WebhookTestCase):
content_type="application/x-www-form-urlencoded")
def get_body(self, fixture_name: Text) -> Text:
return self.fixture_data("opsgenie", fixture_name, file_type="json")
return self.webhook_fixture_data("opsgenie", fixture_name, file_type="json")