Skip to content

Commit

Permalink
Merge pull request #570 from ably/test-error-message
Browse files Browse the repository at this point in the history
test: Don't assert error messages
  • Loading branch information
lmars authored Sep 27, 2024
2 parents dff73cd + bf64282 commit 4066ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ably/rest/restchannels_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ async def test_without_permissions(self):
with pytest.raises(AblyException) as excinfo:
await ably.channels['test_publish_without_permission'].publish('foo', 'woop')

assert 'not permitted' in excinfo.value.message
assert 40160 == excinfo.value.code
await ably.close()

0 comments on commit 4066ce3

Please sign in to comment.