From 5f09c3814ec5cc6d82a7f9202851e6eea5d78828 Mon Sep 17 00:00:00 2001 From: halcy Date: Tue, 15 Nov 2022 11:10:13 +0200 Subject: Fix an issue, remove a test --- tests/test_streaming.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests') diff --git a/tests/test_streaming.py b/tests/test_streaming.py index a22b184..fb60fe1 100644 --- a/tests/test_streaming.py +++ b/tests/test_streaming.py @@ -201,16 +201,6 @@ def test_dotted_unknown_event(): assert listener.deletes == [] assert listener.heartbeats == 0 -def test_invalid_event(): - """But not too tolerant""" - listener = Listener() - with pytest.raises(MastodonMalformedEventError): - listener.handle_stream_([ - 'event: whatup', - 'data: {"k": "v"}', - '', - ]) - def test_invalid_json(): """But not too tolerant""" listener = Listener() -- cgit v1.2.3