update test comment positions

always put them above the test they're referring to
This commit is contained in:
Mike Fährmann
2023-09-06 18:16:09 +02:00
parent 93a7a89cf6
commit 1d2b5d0c60
9 changed files with 95 additions and 51 deletions

View File

@@ -693,8 +693,9 @@ class DeviantartFavoriteExtractor(DeviantartExtractor):
archive_fmt = "f_{_username}_{index}.{extension}"
pattern = BASE_PATTERN + r"/favourites(?:/all|/?\?catpath=)?/?$"
test = (
# (#271)
("https://www.deviantart.com/h3813067/favourites/", {
"options": (("metadata", True), ("flat", False)), # issue #271
"options": (("metadata", True), ("flat", False)),
"count": 1,
}),
("https://www.deviantart.com/h3813067/favourites/", {