From 97fb10c17dd007a275ab743742e93e932335ad67 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 6 Jan 2021 10:22:20 -0800 Subject: [PATCH] Applied Black, refs #1178 --- tests/test_publish_cloudrun.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/test_publish_cloudrun.py b/tests/test_publish_cloudrun.py index 4eb79ee5..f6a8e83a 100644 --- a/tests/test_publish_cloudrun.py +++ b/tests/test_publish_cloudrun.py @@ -280,7 +280,10 @@ def test_publish_cloudrun_apt_get_install(mock_call, mock_output, mock_which): "extra_options,expected", [ ("", "--setting force_https_urls on"), - ("--setting base_url /foo", "--setting base_url /foo --setting force_https_urls on"), + ( + "--setting base_url /foo", + "--setting base_url /foo --setting force_https_urls on", + ), ("--setting force_https_urls off", "--setting force_https_urls off"), ], ) @@ -313,5 +316,9 @@ def test_publish_cloudrun_extra_options( .strip() ) last_line = dockerfile.split("\n")[-1] - extra_options = last_line.split("--inspect-file inspect-data.json")[1].split("--port")[0].strip() - assert extra_options == expected \ No newline at end of file + extra_options = ( + last_line.split("--inspect-file inspect-data.json")[1] + .split("--port")[0] + .strip() + ) + assert extra_options == expected