diff --git a/datasette/templates/patterns.html b/datasette/templates/patterns.html index 33db3d1a..cb0daf9a 100644 --- a/datasette/templates/patterns.html +++ b/datasette/templates/patterns.html @@ -26,7 +26,7 @@
  • Installed plugins
  • Version info
  • -
    +
    diff --git a/tests/test_auth.py b/tests/test_auth.py index f2359df7..74e8283a 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -110,7 +110,7 @@ async def test_logout_button_in_navigation(ds_client, path): anon_response = await ds_client.get(path) for fragment in ( "test", - '
    ', + '', ): assert fragment in response.text assert fragment not in anon_response.text @@ -121,7 +121,10 @@ async def test_logout_button_in_navigation(ds_client, path): async def test_no_logout_button_in_navigation_if_no_ds_actor_cookie(ds_client, path): response = await ds_client.get(path + "?_bot=1") assert "bot" in response.text - assert '' not in response.text + assert ( + '' + not in response.text + ) @pytest.mark.parametrize(