diff options
author | Lorenz Diener <[email protected]> | 2019-10-12 20:25:55 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-12 20:25:55 +0200 |
commit | e60a3f1892bb685fcbe6ebbc9ed10602c9549028 (patch) | |
tree | 8e450dd68c8da7ffd5c30c19392c8b8588b05c37 /tests/test_instance.py | |
parent | ef8e3cec6af3e22fbbb7e6b2006f490e4167d1aa (diff) | |
download | mastodon.py-e60a3f1892bb685fcbe6ebbc9ed10602c9549028.tar.gz |
Add and document health API. Fixes #202
Diffstat (limited to 'tests/test_instance.py')
-rw-r--r-- | tests/test_instance.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_instance.py b/tests/test_instance.py index 0eebc57..a304585 100644 --- a/tests/test_instance.py +++ b/tests/test_instance.py | |||
@@ -32,3 +32,7 @@ def test_low_version(api_low_version): | |||
32 | @pytest.mark.vcr() | 32 | @pytest.mark.vcr() |
33 | def test_emoji(api): | 33 | def test_emoji(api): |
34 | assert len(api.custom_emojis()) == 0 | 34 | assert len(api.custom_emojis()) == 0 |
35 | |||
36 | @pytest.mark.vcr() | ||
37 | def test_health(api): | ||
38 | assert api.instance_health() == True | ||