diff options
author | Lorenz Diener <[email protected]> | 2017-12-11 14:52:03 +0100 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2017-12-11 14:52:03 +0100 |
commit | 8a8c62a8e787a3a56cff5ebc1cd25075d4cd7712 (patch) | |
tree | 2a3de7080cdd7c6a367ec9342dea8caf9c3ef19e /tests | |
parent | 15b32257faa2b96eb5190eb99a902afd5e41d01e (diff) | |
download | mastodon.py-8a8c62a8e787a3a56cff5ebc1cd25075d4cd7712.tar.gz |
Fix tests
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 |