Prepare tests for 2.9.2 compat

This commit is contained in:
Lorenz Diener 2019-06-22 22:09:44 +02:00
pare 0d0b96e7c5
commit a34e21cfa7
S'han modificat 2 arxius amb 3 adicions i 3 eliminacions

Veure arxiu

@ -1,6 +1,6 @@
import pytest
def _api(access_token='__MASTODON_PY_TEST_ACCESS_TOKEN', version="2.8.0", version_check_mode="created"):
def _api(access_token='__MASTODON_PY_TEST_ACCESS_TOKEN', version="2.9.2", version_check_mode="created"):
import mastodon
return mastodon.Mastodon(
api_base_url='http://localhost:3000',

Veure arxiu

@ -55,7 +55,7 @@ INSERT INTO oauth_applications (
'__MASTODON_PY_TEST_CLIENT_ID',
'__MASTODON_PY_TEST_CLIENT_SECRET',
'urn:ietf:wg:oauth:2.0:oob',
'read write follow push',
'read write follow push admin:read admin:write',
'User',
1234567890123456,
now(),
@ -71,7 +71,7 @@ INSERT INTO oauth_access_tokens (
) VALUES (
1234567890123456,
'__MASTODON_PY_TEST_ACCESS_TOKEN',
'read write follow push',
'read write follow push admin:read admin:write',
1234567890123456,
1234567890123456,
now()