[myportfolio] replace unit test

the old gallery got removed
This commit is contained in:
Mike Fährmann 2019-03-10 15:06:16 +01:00
parent fffbfd3dce
commit 7c1cb923a4
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -23,9 +23,9 @@ class MyportfolioGalleryExtractor(Extractor):
r"(?:https?://)?([^.]+\.myportfolio\.com))"
r"(/[^/?&#]+)?")
test = (
("https://hannahcosgrove.myportfolio.com/chloe", {
"url": "d5cf993a05439a9d8a99590aa61e14e5ac8d0cd0",
"keyword": "89b055a6ce833ba4f060ab1f97f086e58ce8bbd1",
("https://hannahcosgrove.myportfolio.com/robyn", {
"url": "93b5430e765e53564b13e7d9c64c30c286011a6b",
"keyword": "25cb3dbdad6b011242a133f30ec598318b7512e8",
}),
("https://hannahcosgrove.myportfolio.com/lfw", {
"pattern": r"https://hannahcosgrove\.myportfolio\.com/[^/?&#+]+$",