mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
datasette plugins --requirements, closes #2133
This commit is contained in:
parent
19ab4552e2
commit
4a42476bb7
4 changed files with 42 additions and 6 deletions
|
|
@ -108,6 +108,9 @@ def test_plugins_cli(app_client):
|
|||
assert set(names).issuperset({p["name"] for p in EXPECTED_PLUGINS})
|
||||
# And the following too:
|
||||
assert set(names).issuperset(DEFAULT_PLUGINS)
|
||||
# --requirements should be empty because there are no installed non-plugins-dir plugins
|
||||
result3 = runner.invoke(cli, ["plugins", "--requirements"])
|
||||
assert result3.output == ""
|
||||
|
||||
|
||||
def test_metadata_yaml():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue