Fixed 'datasette plugins' command, with tests - closes #802

This commit is contained in:
Simon Willison 2020-06-05 16:46:37 -07:00
commit f786033a5f
6 changed files with 92 additions and 61 deletions

View file

@ -449,7 +449,7 @@ def test_call_with_supported_arguments():
({"foo": ["bar", "baz"]}, False),
({"foo": ("bar", "baz")}, False),
({"foo": "bar"}, True),
]
],
)
def test_multi_params(data, should_raise):
if should_raise: