Convert all supported Response URL sites to use JSON driven tests.

This commit is contained in:
Christopher K. Hoadley
2019-02-02 20:46:53 -06:00
parent a576af358f
commit bf0959d84b
2 changed files with 35 additions and 25 deletions
+2 -14
View File
@@ -109,13 +109,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
Will trigger an assert if detection mechanism did not work as expected.
"""
self.username_check(['noonewouldeverusethis7'],
["Pinterest", "iMGSRC.RU", "Pastebin",
"WordPress", "devRant", "ImageShack", "MeetMe",
"EyeEm", "CreativeMarket", "EVE Online", "Canva"
],
exist_check=False
)
self.detect_type_check("response_url", exist_check=False)
return
@@ -133,13 +127,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
Will trigger an assert if detection mechanism did not work as expected.
"""
self.username_check(['blue'],
["Pinterest", "iMGSRC.RU", "Pastebin",
"WordPress", "devRant", "ImageShack", "MeetMe",
"EyeEm", "CreativeMarket", "EVE Online", "Canva"
],
exist_check=True
)
self.detect_type_check("response_url", exist_check=True)
return