diff options
author | Lorenz Diener <[email protected]> | 2019-06-22 16:41:32 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-06-22 16:41:32 +0200 |
commit | 71c6bc0f52289cf0408946b7b9e3adb2810e4598 (patch) | |
tree | a0dd7186c6061f09c7bf1af5478861df79f5f71d /tests | |
parent | 903068887e02bc514eaf94520b5dc0827ebfc8c0 (diff) | |
download | mastodon.py-71c6bc0f52289cf0408946b7b9e3adb2810e4598.tar.gz |
Add, document and test stream_healthy
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_streaming.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_streaming.py b/tests/test_streaming.py index 2e52f35..a471c41 100644 --- a/tests/test_streaming.py +++ b/tests/test_streaming.py | |||
@@ -365,3 +365,7 @@ def test_stream_user_local(api, api2): | |||
365 | assert updates[0].id == posted[0].id | 365 | assert updates[0].id == posted[0].id |
366 | 366 | ||
367 | t.join() | 367 | t.join() |
368 | |||
369 | @pytest.mark.vcr() | ||
370 | def test_stream_healthy(api_anonymous): | ||
371 | assert api_anonymous.stream_healthy() | ||