diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-08 23:24:42 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-08 23:24:42 +0200 |
commit | d0b1da993d4a38469106d6bd52dab6254bbd0053 (patch) | |
tree | 5ec0bf85db3f0a67f7668b18d741c785ffda1036 /tests/README.markdown | |
parent | 3277ca777821e76955fb26d80788939a311db9db (diff) | |
download | mastodon.py-d0b1da993d4a38469106d6bd52dab6254bbd0053.tar.gz |
add media v2 API + tests, move v1 test
Diffstat (limited to 'tests/README.markdown')
-rw-r--r-- | tests/README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/README.markdown b/tests/README.markdown index 9c4fcae..e4ad200 100644 --- a/tests/README.markdown +++ b/tests/README.markdown | |||
@@ -28,7 +28,7 @@ To set this up, follow the development guide and set up the database using "rail | |||
28 | 28 | ||
29 | It also needs various things to be set up for it. The following command should do the trick: | 29 | It also needs various things to be set up for it. The following command should do the trick: |
30 | 30 | ||
31 | RAILS_ENV=development rails db:setup && RAILS_ENV=development bin/tootctl accounts create admin2 --email [email protected] --confirmed --role Owner && psql -d mastodon_development < ~/Mastodon.py/tests/setup.sql && sleep 4 && foreman start | 31 | sudo redis-cli flushall && sleep 3 && sudo /etc/init.d/redis-server restart && RAILS_ENV=development rails db:setup && RAILS_ENV=development bin/tootctl accounts create admin2 --email [email protected] --confirmed --role Owner && psql -d mastodon_development < ~/masto/Mastodon.py/tests/setup.sql && sleep 4 && foreman start |
32 | 32 | ||
33 | Tests that send requests to Mastodon should be marked as needing VCR with the `pytest.mark.vcr` decorator. | 33 | Tests that send requests to Mastodon should be marked as needing VCR with the `pytest.mark.vcr` decorator. |
34 | 34 | ||