From 7fd2a6a39cf7362e9542699f6f948365fd273505 Mon Sep 17 00:00:00 2001 From: Aljoscha Rittner Date: Mon, 27 Jun 2022 09:47:30 +0200 Subject: Supports a User-Agent header fixes #213 --- tests/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 client_secret='__MASTODON_PY_TEST_CLIENT_SECRET', access_token=access_token, mastodon_version=version, - version_check_mode=version_check_mode) + version_check_mode=version_check_mode, + user_agent='tests/v311') @pytest.fixture -- cgit v1.2.3