aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/conftest.py2
-rw-r--r--tests/setup.sql4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 66fffdc..f4d38d9 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,6 +1,6 @@
1import pytest 1import pytest
2 2
3def _api(access_token='__MASTODON_PY_TEST_ACCESS_TOKEN', version="2.8.0", version_check_mode="created"): 3def _api(access_token='__MASTODON_PY_TEST_ACCESS_TOKEN', version="2.9.2", version_check_mode="created"):
4 import mastodon 4 import mastodon
5 return mastodon.Mastodon( 5 return mastodon.Mastodon(
6 api_base_url='http://localhost:3000', 6 api_base_url='http://localhost:3000',
diff --git a/tests/setup.sql b/tests/setup.sql
index 17f3def..171f4da 100644
--- a/tests/setup.sql
+++ b/tests/setup.sql
@@ -55,7 +55,7 @@ INSERT INTO oauth_applications (
55 '__MASTODON_PY_TEST_CLIENT_ID', 55 '__MASTODON_PY_TEST_CLIENT_ID',
56 '__MASTODON_PY_TEST_CLIENT_SECRET', 56 '__MASTODON_PY_TEST_CLIENT_SECRET',
57 'urn:ietf:wg:oauth:2.0:oob', 57 'urn:ietf:wg:oauth:2.0:oob',
58 'read write follow push', 58 'read write follow push admin:read admin:write',
59 'User', 59 'User',
60 1234567890123456, 60 1234567890123456,
61 now(), 61 now(),
@@ -71,7 +71,7 @@ INSERT INTO oauth_access_tokens (
71) VALUES ( 71) VALUES (
72 1234567890123456, 72 1234567890123456,
73 '__MASTODON_PY_TEST_ACCESS_TOKEN', 73 '__MASTODON_PY_TEST_ACCESS_TOKEN',
74 'read write follow push', 74 'read write follow push admin:read admin:write',
75 1234567890123456, 75 1234567890123456,
76 1234567890123456, 76 1234567890123456,
77 now() 77 now()
Powered by cgit v1.2.3 (git 2.41.0)