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 @@ import pytest - def _api(access_token='__MASTODON_PY_TEST_ACCESS_TOKEN'): import mastodon return mastodon.Mastodon( api_base_url='http://localhost:3000', client_id='__MASTODON_PY_TEST_CLIENT_ID', client_secret='__MASTODON_PY_TEST_CLIENT_SECRET', - access_token=access_token) + access_token=access_token, + mastodon_version="2.0.0") @pytest.fixture