update test docs

This commit is contained in:
codl 2017-11-29 23:06:28 +01:00
parent d76c26e4b9
commit 7d51c0b17e
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
2 changed files with 2 additions and 2 deletions

View File

@ -24,9 +24,9 @@ This test suite uses [VCR.py][] to record requests to Mastodon and replay them i
If you want to add or change tests, you will need a Mastodon development server running on `http://localhost:3000`, with the default `admin` user and default password.
It also needs a test OAuth app to be set up by applying the provided `setup_app.sql` to Mastodon's database:
It also needs a test OAuth app and an additional test user to be set up by applying the provided `setup.sql` to Mastodon's database:
psql -d mastodon_development < tests/setup_app.sql
psql -d mastodon_development < tests/setup.sql
Tests that send requests to Mastodon should be marked as needing VCR with the `pytest.mark.vcr` decorator.