diff options
author | Aljoscha Rittner <[email protected]> | 2022-06-27 09:47:30 +0200 |
---|---|---|
committer | Aljoscha Rittner <[email protected]> | 2022-06-27 11:13:35 +0200 |
commit | 7fd2a6a39cf7362e9542699f6f948365fd273505 (patch) | |
tree | f62af20b3ab266f1eb2cd7e1c24f54b68aa88990 /tests | |
parent | f8f988710c853525b20c2a02acc3ce9dd95d4167 (diff) | |
download | mastodon.py-7fd2a6a39cf7362e9542699f6f948365fd273505.tar.gz |
Supports a User-Agent header
fixes #213
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 |