Commit Graph

19 Commits (d184716523328d4f33efd4b94379ea7b496e50d8)

Author SHA1 Message Date
aristotelis gkithkopoulos d184716523 add unittest for multiple username
2 years ago
Seth Falco a0360d4725
chore: make quotes in repo consistent
3 years ago
noah dc33c321d6 replace "N/A" with "Nothing" in docstrings
3 years ago
Siddharth Dushantha 42d2c3a869 use the site BianrySearch for test_detect_false_via_message
4 years ago
Siddharth Dushantha 64832e5997 use the site BianrySearch for test_detect_true_via_message
4 years ago
Marcos Felipe 8fcaf6c008 Fix the tests response_url
4 years ago
Roopesh V S f6a05e3086 Change Facebook to Pinterest in tests/all.py
4 years ago
Danny Sepler 3fa85c1576 Clean out unused imports
4 years ago
Christopher K. Hoadley 1d251085b7 Remove verbose option from tests. It is not used anymore.
4 years ago
Christopher K. Hoadley 6caa5a4e35 Restructure all print output to use QueryNotifyPrint() object.
4 years ago
Christopher K. Hoadley c07d3967aa Create QueryNotify() base class for notifying the caller about the results.
5 years ago
Christopher K. Hoadley 5edc3c0a0b Fix tests. Instagram no longer uses the message detection.
5 years ago
Christopher K. Hoadley 529b37bc60 Change tests so that expected state is first and actual state follows (previous order was confusing). Also use "claimed" and "available" terms when reporting test results.
5 years ago
Christopher K. Hoadley de0ccfebb7 Add option to skip test if site returns error status (e.g. timeout connecting with site). This makes it easier to interpret the test results.
5 years ago
Christopher K. Hoadley f48a2980f5 Use SitesInformation() object in tests. For now, use the new SitesInformation() object to calculate the original JSON dictionary: the rest of the code will be updated in the future.
5 years ago
Christopher K. Hoadley 8f6938ecb1 Add option to *not* print out results. Configure tests to there is no print output. This simplifies looking at the error output when the tests fail.
5 years ago
Christopher K. Hoadley 2a1ab1c281 Add result module to hold results of site queries. The QueryResult() object contains an enumeration for the possible status about a given username on a site, and additional error information that might be handy. Rework all code to use this object instead of the "exists" key in the result dictionary that was used previously.
5 years ago
Christopher K. Hoadley b92b931504 Merge remote-tracking branch 'origin/master' into restructure_take1
5 years ago
Christopher K. Hoadley d17268e737 Move content into sherlock sub-directory inside of repo. This directory will look very much like what the packaged version of Sherlock will look like when it is installed in the site-packages area.
5 years ago