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.
1 parent 4b773e1 commit 86066fdCopy full SHA for 86066fd
kinto_http/tests/functional.py
@@ -142,7 +142,7 @@ def test_group_creation_if_not_exists(self):
142
def test_group_creation_if_bucket_does_not_exist(self):
143
with pytest.raises(KintoException) as e:
144
self.client.create_group(id="payments", bucket="mozilla", data={"members": ["blah"]})
145
- assert str(e).endswith(
+ assert str(e.value).endswith(
146
"PUT /v1/buckets/mozilla/groups/payments - "
147
"403 Unauthorized. Please check that the "
148
"bucket exists and that you have the permission "
0 commit comments