Plugins can now bundle custom templates, closes #224

Refs #14
This commit is contained in:
Simon Willison 2018-04-18 22:50:27 -07:00
commit b52171db1e
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
4 changed files with 41 additions and 11 deletions

View file

@ -656,4 +656,8 @@ def test_plugins_json(app_client):
# This will include any plugins that have been installed into the
# current virtual environment, so we only check for the presence of
# the one we know will definitely be There
assert {'name': 'my_plugin.py', 'static': False} in response.json
assert {
'name': 'my_plugin.py',
'static': False,
'templates': False
} in response.json