datasette/tests
Simon Willison 825b8a2557
.json?_labels=1 to expand foreign keys, refs #233
Output looks something like this:

    {
        "rowid": 233,
        "TreeID": 121240,
        "qLegalStatus": {
            "value" 2,
            "label": "Private"
        }
        "qSpecies": {
            "value": 16,
            "label": "Sycamore"
        }
        "qAddress": "91 Commonwealth Ave",
        ...
    }
2018-06-15 08:52:43 -07:00
..
__init__.py Broke up test_app into test_api and test_html 2017-12-15 04:08:24 -08:00
fixtures.py Test client wrapper removing need for gather_request - refs #272 2018-06-04 20:53:12 -07:00
test_api.py .json?_labels=1 to expand foreign keys, refs #233 2018-06-15 08:52:43 -07:00
test_csv.py Fixed CSV tests - Python 3.6.5 and 3.6.3 apparently differ 2018-06-15 00:01:48 -07:00
test_docs.py Test that ensures all config options are documented 2018-05-26 15:11:16 -07:00
test_html.py Basic CSV export, refs #266 2018-06-14 23:51:23 -07:00
test_inspect.py Use scope='session' for all fixtures 2018-05-28 13:41:06 -07:00
test_plugins.py Test client wrapper removing need for gather_request - refs #272 2018-06-04 20:53:12 -07:00
test_utils.py Basic CSV export, refs #266 2018-06-14 23:51:23 -07:00