From 8c0c24b9ab43070065f1f66434fd7f2c2b6febb5 Mon Sep 17 00:00:00 2001 From: Paul Paterson Date: Thu, 12 Sep 2024 14:43:31 -0400 Subject: [PATCH] Fix tests (#282) --- 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()