Siddharth Dushantha
d99d6ffa3d
use 9GAG for tests instead of PlayStore
2 years ago
Siddharth Dushantha
75b9227927
updated tests to remove Pinterest
2 years ago
Siddharth Dushantha
a9e25a3a79
removed Pinterest
2 years ago
Evelina Diamantopoulou
548180749d
add comments in: test_multiple_usernames.py
3 years ago
aristotelis gkithkopoulos
d184716523
add unittest for multiple username
3 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
5 years ago
Christopher K. Hoadley
1d251085b7
Remove verbose option from tests. It is not used anymore.
5 years ago
Christopher K. Hoadley
6caa5a4e35
Restructure all print output to use QueryNotifyPrint() object.
...
Added start and finish methods to base QueryNotify() object in order to get the same type of output.
The only thing not supported in this refactor is the exception text for an error status when we are in verbose mode. This is an area of future work: I think exception information like this would more properly be handled by the logging module.
5 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
...
# Conflicts:
# sherlock/sherlock.py
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.
...
No real restructuring of the code has happened. This just gives a view of the directory structure.
5 years ago