mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
The fixtures database created by our unit tests makes for a good "live" demo of Datasette in action. I've improved the metadata it ships with to better support this use-case. I've also improved the mechanism for writing out fixtures: you can do this: python tests/fixtures.py fixtures.db To get just the fixtures database written out... or you can do this: python tests/fixtures.py fixtures.db fixtures.json To get metadata which you can then serve like so: datasette fixtures.db -m fixtures.json Refs #313 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| fixtures.py | ||
| test_api.py | ||
| test_csv.py | ||
| test_docs.py | ||
| test_html.py | ||
| test_inspect.py | ||
| test_plugins.py | ||
| test_utils.py | ||