mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Address PrefixedUrlString bug in #1075
This commit is contained in:
parent
bf18b9ba17
commit
a4ca26a265
6 changed files with 16 additions and 2 deletions
|
|
@ -1466,6 +1466,11 @@ def test_base_url_config(app_client_base_url_prefix, path):
|
|||
}
|
||||
|
||||
|
||||
def test_base_url_affects_metadata_extra_css_urls(app_client_base_url_prefix):
|
||||
html = app_client_base_url_prefix.get("/").text
|
||||
assert '<link rel="stylesheet" href="/prefix/static/extra-css-urls.css">' in html
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"path,expected",
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue