Fixed _usersApproval
, fixed changeThreadImage
methods, more tests
This commit is contained in:
@@ -86,9 +86,7 @@ def test_fetch_info(client1, group):
|
||||
|
||||
|
||||
def test_fetch_image_url(client):
|
||||
url = path.join(path.dirname(__file__), "resources", "image.png")
|
||||
|
||||
client.sendLocalImage(url)
|
||||
client.sendLocalFiles([path.join(path.dirname(__file__), "resources", "image.png")])
|
||||
message, = client.fetchThreadMessages(limit=1)
|
||||
|
||||
assert client.fetchImageUrl(message.attachments[0].uid)
|
||||
|
Reference in New Issue
Block a user