From b47ac37114d522d8f295b2b7cbe70ab094fc2608 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 7 Oct 2020 15:51:25 -0700 Subject: [PATCH] Applied Black --- tests/test_custom_pages.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/test_custom_pages.py b/tests/test_custom_pages.py index 071b055b..6a231920 100644 --- a/tests/test_custom_pages.py +++ b/tests/test_custom_pages.py @@ -64,11 +64,14 @@ def test_redirect2(custom_pages_client): assert "/example" == response.headers["Location"] -@pytest.mark.parametrize("path,expected", [ - ("/route_Sally", "

Hello from Sally

"), - ("/topic_python", "Topic page for python"), - ("/topic_python/info", "Slug: info, Topic: python"), -]) +@pytest.mark.parametrize( + "path,expected", + [ + ("/route_Sally", "

Hello from Sally

"), + ("/topic_python", "Topic page for python"), + ("/topic_python/info", "Slug: info, Topic: python"), + ], +) def test_custom_route_pattern(custom_pages_client, path, expected): response = custom_pages_client.get(path) assert response.status == 200