Skip to content

Commit

Permalink
Fix tests (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson authored Sep 12, 2024
1 parent dd030c7 commit 8c0c24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8c0c24b

Please sign in to comment.