datasette/tests
Simon Willison b2955d9065
New --plugins-dir=plugins/ option (#212)
* New --plugins-dir=plugins/ option

New option causing Datasette to load and evaluate all of the Python files in
the specified directory and register any plugins that are defined in those
files.

This new option is available for the following commands:

    datasette serve mydb.db --plugins-dir=plugins/
    datasette publish now/heroku mydb.db --plugins-dir=plugins/
    datasette package mydb.db --plugins-dir=plugins/

* Unit tests for --plugins-dir=plugins/

Closes #211
2018-04-15 22:22:01 -07:00
..
__init__.py Broke up test_app into test_api and test_html 2017-12-15 04:08:24 -08:00
fixtures.py New --plugins-dir=plugins/ option (#212) 2018-04-15 22:22:01 -07:00
test_api.py New --plugins-dir=plugins/ option (#212) 2018-04-15 22:22:01 -07:00
test_html.py Unit test for unlabelled foreign keys from #207 2018-04-14 08:00:54 -07:00
test_inspect.py Mark FTS-related tables as 'hidden' in inspect() 2017-11-21 12:55:59 -08:00
test_utils.py New --plugins-dir=plugins/ option (#212) 2018-04-15 22:22:01 -07:00