From f0caaa7ac72f547d2011d1ef60f1a93ae7bb9428 Mon Sep 17 00:00:00 2001 From: Paul Paterson Date: Thu, 12 Sep 2024 14:35:08 -0400 Subject: [PATCH] Fix tests --- tests/test_streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_streams.py b/tests/test_streams.py index fdabdf9..bf86933 100644 --- a/tests/test_streams.py +++ b/tests/test_streams.py @@ -124,7 +124,7 @@ def on_error(error): self.assertEqual(error.type, 'error') self.assertTrue(isinstance(error.error, BadRequest)) self.assertEqual(error.error._get_description(), - 'Write effect in read-only query expression.') + 'Call performs a write, which is not allowed in stream requests.') stream.close() stream= self.stream_sync(q, on_error=on_error) stream.start()