diff options
author | micah <[email protected]> | 2022-11-25 21:45:52 +0000 |
---|---|---|
committer | micah <[email protected]> | 2022-11-25 21:45:52 +0000 |
commit | dd23f8b7c5e46989b2a73b21816c59bbbd34ef35 (patch) | |
tree | dd9c08cce97aec58daacd8f7b852d2e64886f951 /tests/test_constructor.py | |
parent | 2c7b58568db735534912b2bc0990294e9d4a9c19 (diff) | |
parent | 99514e50d1e1ef6330397c2cada203dfa3891b3a (diff) | |
download | mastodon.py-dd23f8b7c5e46989b2a73b21816c59bbbd34ef35.tar.gz |
Merge remote-tracking branch 'origin/master' into catgoat/domain_blocks
Diffstat (limited to 'tests/test_constructor.py')
-rw-r--r-- | tests/test_constructor.py | 6 |
1 files changed, 4 insertions, 2 deletions
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): | |||
8 | access = tmpdir.join('access') | 8 | access = tmpdir.join('access') |
9 | access.write_text(u'baz\n', 'UTF-8') | 9 | access.write_text(u'baz\n', 'UTF-8') |
10 | api = Mastodon( | 10 | api = Mastodon( |
11 | str(client), | 11 | str(client), |
12 | access_token=str(access)) | 12 | access_token=str(access), |
13 | api_base_url="mastodon.social" | ||
14 | ) | ||
13 | assert api.client_id == 'foo' | 15 | assert api.client_id == 'foo' |
14 | assert api.client_secret == 'bar' | 16 | assert api.client_secret == 'bar' |
15 | assert api.access_token == 'baz' | 17 | assert api.access_token == 'baz' |