Improve image fetching in ThreadABC

This commit is contained in:
Mads Marquart
2020-01-14 18:47:14 +01:00
parent 55182e21b6
commit 117433da8a
4 changed files with 45 additions and 34 deletions

View File

@@ -46,7 +46,7 @@ def test_imageattachment_from_list():
height=988,
),
},
) == ImageAttachment._from_list({"node": data})
) == ImageAttachment._from_list(data)
def test_videoattachment_from_list():
@@ -88,7 +88,7 @@ def test_videoattachment_from_list():
height=368,
),
},
) == VideoAttachment._from_list({"node": data})
) == VideoAttachment._from_list(data)
def test_graphql_to_attachment_empty():