def test_update_blocklist(self, client: StreamChat): client.update_blocklist("Foo", words=["dang"]) response = client.get_blocklist("Foo") assert response["blocklist"]["words"] == ["dang"]
def test_get_blocklist(self, client: StreamChat): response = client.get_blocklist("Foo") assert response["blocklist"]["name"] == "Foo" assert response["blocklist"]["words"] == ["fudge", "heck"]