aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAljoscha Rittner <[email protected]>2022-06-27 09:47:30 +0200
committerAljoscha Rittner <[email protected]>2022-06-27 11:13:35 +0200
commit7fd2a6a39cf7362e9542699f6f948365fd273505 (patch)
treef62af20b3ab266f1eb2cd7e1c24f54b68aa88990 /tests
parentf8f988710c853525b20c2a02acc3ce9dd95d4167 (diff)
downloadmastodon.py-7fd2a6a39cf7362e9542699f6f948365fd273505.tar.gz
Supports a User-Agent header
fixes #213
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 22a4b75..8e64919 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -8,7 +8,8 @@ def _api(access_token='__MASTODON_PY_TEST_ACCESS_TOKEN', version="3.1.1", versio
8 client_secret='__MASTODON_PY_TEST_CLIENT_SECRET', 8 client_secret='__MASTODON_PY_TEST_CLIENT_SECRET',
9 access_token=access_token, 9 access_token=access_token,
10 mastodon_version=version, 10 mastodon_version=version,
11 version_check_mode=version_check_mode) 11 version_check_mode=version_check_mode,
12 user_agent='tests/v311')
12 13
13 14
14@pytest.fixture 15@pytest.fixture
Powered by cgit v1.2.3 (git 2.41.0)