diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/conftest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index f6ee327..56ea356 100644 --- a/tests/conftest.py +++ b/tests/conftest.py | |||
@@ -1,13 +1,13 @@ | |||
1 | import pytest | 1 | import pytest |
2 | 2 | ||
3 | |||
4 | def _api(access_token='__MASTODON_PY_TEST_ACCESS_TOKEN'): | 3 | def _api(access_token='__MASTODON_PY_TEST_ACCESS_TOKEN'): |
5 | import mastodon | 4 | import mastodon |
6 | return mastodon.Mastodon( | 5 | return mastodon.Mastodon( |
7 | api_base_url='http://localhost:3000', | 6 | api_base_url='http://localhost:3000', |
8 | client_id='__MASTODON_PY_TEST_CLIENT_ID', | 7 | client_id='__MASTODON_PY_TEST_CLIENT_ID', |
9 | client_secret='__MASTODON_PY_TEST_CLIENT_SECRET', | 8 | client_secret='__MASTODON_PY_TEST_CLIENT_SECRET', |
10 | access_token=access_token) | 9 | access_token=access_token, |
10 | mastodon_version="2.0.0") | ||
11 | 11 | ||
12 | 12 | ||
13 | @pytest.fixture | 13 | @pytest.fixture |