Prepare tests for 2.9.2 compat
This commit is contained in:
parent
0d0b96e7c5
commit
a34e21cfa7
2 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue