python: Reformat with Black, except quotes.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-11 23:19:30 -08:00
committed by Tim Abbott
parent 5028c081cb
commit 11741543da
817 changed files with 44952 additions and 24860 deletions

View File

@@ -24,9 +24,10 @@ class NetlifyHookTests(WebhookTestCase):
def test_failed_message(self) -> None:
expected_topic = "master"
expected_message = ("The build [objective-jepsen-35fbb2](http://objective-jepsen-35fbb2.netlify.com) "
"on branch master failed during stage 'building site': Build script returned non-zero exit code: 127"
)
expected_message = (
"The build [objective-jepsen-35fbb2](http://objective-jepsen-35fbb2.netlify.com) "
"on branch master failed during stage 'building site': Build script returned non-zero exit code: 127"
)
self.check_webhook(
"deploy_failed", expected_topic, expected_message, content_type="application/json"
@@ -34,9 +35,10 @@ class NetlifyHookTests(WebhookTestCase):
def test_locked_message(self) -> None:
expected_topic = "master"
expected_message = ("The build [objective-jepsen-35fbb2](http://objective-jepsen-35fbb2.netlify.com) "
"on branch master is now locked."
)
expected_message = (
"The build [objective-jepsen-35fbb2](http://objective-jepsen-35fbb2.netlify.com) "
"on branch master is now locked."
)
self.check_webhook(
"deploy_locked", expected_topic, expected_message, content_type="application/json"
@@ -44,9 +46,10 @@ class NetlifyHookTests(WebhookTestCase):
def test_unlocked_message(self) -> None:
expected_topic = "master"
expected_message = ("The build [objective-jepsen-35fbb2](http://objective-jepsen-35fbb2.netlify.com) "
"on branch master is now unlocked."
)
expected_message = (
"The build [objective-jepsen-35fbb2](http://objective-jepsen-35fbb2.netlify.com) "
"on branch master is now unlocked."
)
self.check_webhook(
"deploy_unlocked", expected_topic, expected_message, content_type="application/json"