aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAljoscha Rittner <[email protected]>2022-06-27 11:19:44 +0200
committerGitHub <[email protected]>2022-06-27 11:19:44 +0200
commit2dce8a297a20bb654b49d8b87fb0b31ee23d7f4e (patch)
treef62af20b3ab266f1eb2cd7e1c24f54b68aa88990 /tests
parentf8f988710c853525b20c2a02acc3ce9dd95d4167 (diff)
parent7fd2a6a39cf7362e9542699f6f948365fd273505 (diff)
downloadmastodon.py-2dce8a297a20bb654b49d8b87fb0b31ee23d7f4e.tar.gz
Merge pull request #240 from arittner/set_useragent
Supports a User-Agent header
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)