mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Move Metadata to --internal database
Refs: - https://github.com/simonw/datasette/pull/2343 - https://github.com/simonw/datasette/issues/2341
This commit is contained in:
parent
8f9509f00c
commit
e1bfab3fca
22 changed files with 286 additions and 214 deletions
|
|
@ -792,8 +792,6 @@ async def test_table_metadata(ds_client):
|
|||
assert "Simple <em>primary</em> key" == inner_html(
|
||||
soup.find("div", {"class": "metadata-description"})
|
||||
)
|
||||
# The source/license should be inherited
|
||||
assert_footer_links(soup)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
@ -1101,8 +1099,8 @@ async def test_column_metadata(ds_client):
|
|||
soup = Soup(response.text, "html.parser")
|
||||
dl = soup.find("dl")
|
||||
assert [(dt.text, dt.nextSibling.text) for dt in dl.findAll("dt")] == [
|
||||
("name", "The name of the attraction"),
|
||||
("address", "The street address for the attraction"),
|
||||
("name", "The name of the attraction"),
|
||||
]
|
||||
assert (
|
||||
soup.select("th[data-column=name]")[0]["data-column-description"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue