datasette/tests
Simon Willison 195a5b3634
Heroku --include-vcs-ignore (#407)
Means `datasette publish heroku` can work under Travis, unlike this failure:

https://travis-ci.org/simonw/fivethirtyeight-datasette/builds/488047550

```
2.25s$ datasette publish heroku fivethirtyeight.db -m metadata.json -n fivethirtyeight-datasette
tar: unrecognized option '--exclude-vcs-ignores'
Try 'tar --help' or 'tar --usage' for more information.
 ▸    Command failed: tar cz -C /tmp/tmpuaxm7i8f --exclude-vcs-ignores --exclude
 ▸    .git --exclude .gitmodules . >
 ▸    /tmp/f49440e0-1bf3-4d3f-9eb0-fbc2967d1fd4.tar.gz
 ▸    tar: unrecognized option '--exclude-vcs-ignores'
 ▸    Try 'tar --help' or 'tar --usage' for more information.
 ▸    
The command "datasette publish heroku fivethirtyeight.db -m metadata.json -n fivethirtyeight-datasette" exited with 0.
```

The fix for that issue is to call the heroku command like this:

    heroku builds:create -a app_name --include-vcs-ignore
2019-02-05 20:15:46 -08:00
..
__init__.py Broke up test_app into test_api and test_html 2017-12-15 04:08:24 -08:00
fixtures.py app_client() fixture doesn't need to take **kwargs 2019-01-13 14:23:44 -08:00
test_api.py Export option: _shape=array&_nl=on for newline-delimited JSON 2019-01-27 17:40:23 -08:00
test_csv.py render_cell(value, column, table, database, datasette) 2018-08-28 03:03:01 -07:00
test_docs.py Added plugin_config() method 2018-08-28 01:35:21 -07:00
test_html.py Export option: _shape=array&_nl=on for newline-delimited JSON 2019-01-27 17:40:23 -08:00
test_inspect.py Import pysqlite3 if available, closes #360 (#361) 2018-08-15 17:58:56 -07:00
test_plugins.py Fix json.loads in Python 3.5 2018-08-28 17:55:30 +01:00
test_publish_heroku.py Heroku --include-vcs-ignore (#407) 2019-02-05 20:15:46 -08:00
test_publish_now.py Unit tests for publish now/heroku - closes #348 2018-07-25 22:45:47 -07:00
test_utils.py Import pysqlite3 if available, closes #360 (#361) 2018-08-15 17:58:56 -07:00