aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-12-11 14:52:03 +0100
committerLorenz Diener <[email protected]>2017-12-11 14:52:03 +0100
commit8a8c62a8e787a3a56cff5ebc1cd25075d4cd7712 (patch)
tree2a3de7080cdd7c6a367ec9342dea8caf9c3ef19e /tests
parent15b32257faa2b96eb5190eb99a902afd5e41d01e (diff)
downloadmastodon.py-8a8c62a8e787a3a56cff5ebc1cd25075d4cd7712.tar.gz
Fix tests
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py4
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 @@
1import pytest 1import pytest
2 2
3
4def _api(access_token='__MASTODON_PY_TEST_ACCESS_TOKEN'): 3def _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
Powered by cgit v1.2.3 (git 2.41.0)