From 89678e05656c149e2e79d8ab09721059724fa8a0 Mon Sep 17 00:00:00 2001 From: halcy Date: Fri, 25 Nov 2022 00:09:54 +0200 Subject: Fix tests --- tests/test_constructor.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/test_constructor.py') diff --git a/tests/test_constructor.py b/tests/test_constructor.py index d997a5d..ed38b9c 100644 --- a/tests/test_constructor.py +++ b/tests/test_constructor.py @@ -8,8 +8,10 @@ def test_constructor_from_filenames(tmpdir): access = tmpdir.join('access') access.write_text(u'baz\n', 'UTF-8') api = Mastodon( - str(client), - access_token=str(access)) + str(client), + access_token=str(access), + api_base_url="mastodon.social" + ) assert api.client_id == 'foo' assert api.client_secret == 'bar' assert api.access_token == 'baz' -- cgit v1.2.3