aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-06-22 16:41:32 +0200
committerLorenz Diener <[email protected]>2019-06-22 16:41:32 +0200
commit71c6bc0f52289cf0408946b7b9e3adb2810e4598 (patch)
treea0dd7186c6061f09c7bf1af5478861df79f5f71d /tests
parent903068887e02bc514eaf94520b5dc0827ebfc8c0 (diff)
downloadmastodon.py-71c6bc0f52289cf0408946b7b9e3adb2810e4598.tar.gz
Add, document and test stream_healthy
Diffstat (limited to 'tests')
-rw-r--r--tests/test_streaming.py4
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()
370def test_stream_healthy(api_anonymous):
371 assert api_anonymous.stream_healthy()
Powered by cgit v1.2.3 (git 2.41.0)