diff options
author | Aljoscha Rittner <[email protected]> | 2022-06-27 11:19:44 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-27 11:19:44 +0200 |
commit | 2dce8a297a20bb654b49d8b87fb0b31ee23d7f4e (patch) | |
tree | f62af20b3ab266f1eb2cd7e1c24f54b68aa88990 /tests | |
parent | f8f988710c853525b20c2a02acc3ce9dd95d4167 (diff) | |
parent | 7fd2a6a39cf7362e9542699f6f948365fd273505 (diff) | |
download | mastodon.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.py | 3 |
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 |