mirror of
https://github.com/simonw/datasette-vega.git
synced 2026-07-21 00:14:34 +02:00
11 lines
350 B
Python
11 lines
350 B
Python
import pytest
|
|
from datasette.app import Datasette
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
async def test_plugin_is_installed():
|
|
ds = Datasette([], memory=True)
|
|
response = await ds.client.get("/-/plugins.json")
|
|
assert response.status_code == 200
|
|
installed_plugins = {p["name"] for p in response.json()}
|
|
assert "datasette-vega" in installed_plugins
|