Simon Willison
4ac9132240
render_cell(value) plugin hook, closes #352
...
New plugin hook for customizing the way cells values are rendered in HTML.
The first full example of this hook in use is https://github.com/simonw/datasette-json-html
2018-08-04 17:14:56 -07:00
Simon Willison
0357774c94
Renamed test_tables.db to fixtures.db in unit tests
2018-06-17 11:34:16 -07:00
Simon Willison
864328e074
Test client wrapper removing need for gather_request - refs #272
...
As part of decoupling from Sanic, this will make it easier to run tests
against ASGI instead.
2018-06-04 20:53:12 -07:00
Simon Willison
969771770f
Upgrade pytest to 3.6.0
...
https://github.com/pytest-dev/pytest/issues/1875 made it impossible to declare
a function as a fixture multiple times, which we were doing across different
modules. The fix was to move our @pytest.fixture calls into decorators in the
tests/fixtures.py module.
2018-05-31 06:42:37 -07:00
Simon Willison
98c8f0e728
Moved plugin HTML tests from test_html to test_plugins
2018-05-28 14:23:48 -07:00
Simon Willison
fefb0db8ae
Unit test for 02870e57
, closes #291
2018-05-28 13:41:53 -07:00