From 8a8c62a8e787a3a56cff5ebc1cd25075d4cd7712 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 11 Dec 2017 14:52:03 +0100 Subject: Fix tests --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3