We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dff73cd + bf64282 commit 4066ce3Copy full SHA for 4066ce3
test/ably/rest/restchannels_test.py
@@ -87,5 +87,5 @@ async def test_without_permissions(self):
87
with pytest.raises(AblyException) as excinfo:
88
await ably.channels['test_publish_without_permission'].publish('foo', 'woop')
89
90
- assert 'not permitted' in excinfo.value.message
+ assert 40160 == excinfo.value.code
91
await ably.close()
0 commit comments