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