diff options
author | Lorenz Diener <[email protected]> | 2017-11-30 16:02:52 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-11-30 16:02:52 +0100 |
commit | 7e3a4a17a28f52b186e6453a0d1f43614f110b4b (patch) | |
tree | 48aafcc35397205d52613cc305dc6baff1cbbda1 /tests/README.markdown | |
parent | c6f1196ddc1899e64d60b102e1cfa1c1c1321e77 (diff) | |
parent | d87ada3d73de69ba371acaeca55751e2410c3786 (diff) | |
download | mastodon.py-7e3a4a17a28f52b186e6453a0d1f43614f110b4b.tar.gz |
Merge pull request #113 from codl/more-tests
More tests!
Diffstat (limited to 'tests/README.markdown')
-rw-r--r-- | tests/README.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/README.markdown b/tests/README.markdown index ad27a31..5d8d90e 100644 --- a/tests/README.markdown +++ b/tests/README.markdown | |||
@@ -24,9 +24,9 @@ This test suite uses [VCR.py][] to record requests to Mastodon and replay them i | |||
24 | 24 | ||
25 | 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. | 25 | 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. |
26 | 26 | ||
27 | It also needs a test OAuth app to be set up by applying the provided `setup_app.sql` to Mastodon's database: | 27 | 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: |
28 | 28 | ||
29 | psql -d mastodon_development < tests/setup_app.sql | 29 | psql -d mastodon_development < tests/setup.sql |
30 | 30 | ||
31 | Tests that send requests to Mastodon should be marked as needing VCR with the `pytest.mark.vcr` decorator. | 31 | Tests that send requests to Mastodon should be marked as needing VCR with the `pytest.mark.vcr` decorator. |
32 | 32 | ||