Paul Pfeister
18367353df
Merge branch 'bump-version' into release/0.15.0-rc2
5 months ago
Paul Pfeister
33db232493
Switch to tagged update checks
5 months ago
Paul Pfeister
267e5a6979
Adjust ci paths
6 months ago
Paul Pfeister
ca781a3c3b
Rename importable module
6 months ago
Paul Pfeister
d3998faf59
Try devRant
6 months ago
Siddharth Dushantha
a774a639d4
removed Pentestit + fixed tests
6 months ago
Paul Pfeister
67258b58a4
Adapt for online testing
...
When using tox, pass `-e offline` to exclude online tests.
When using pytest, pass `-m "not online"` to do the same.
6 months ago
Paul Pfeister
e5736d3888
Fix platform dependant issues
6 months ago
Paul Pfeister
4aaf0583c5
Fix platform differences
6 months ago
Paul Pfeister
e32a84ea05
Fix tox caught errors
6 months ago
Paul Pfeister
030860c0a1
Cleanup
6 months ago
Paul Pfeister
2b24cca340
Add tests
6 months ago
Paul Pfeister
9f75d5ed14
Fix newline
6 months ago
Paul Pfeister
a785a5931f
Adopt tox and pytest
6 months ago
Paul Pfeister
ba2eef7b0e
Revert "Remove tor"
...
This reverts commit 606743b99d
.
7 months ago
Paul Pfeister
606743b99d
Remove tor
7 months ago
Paul Pfeister
de8ebb1577
Relocate unit tests
7 months 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
Christopher K. Hoadley
b4a9562806
Update tests.all.SherlockDetectTests so it will only run tests against the detection methods.
...
This was the original intent for this class, but there was no test to ensure that the sites listed did not have their detection method changed. Now, the test will fail if it does not really cover a given category.
5 years ago
Christopher K. Hoadley
d3f0bfd0fc
Add test to ensure that all sites have test data. If they do not, then the person running the tests will be able to see the list of sites missing coverage.
6 years ago
Christopher K. Hoadley
dea8c29351
Change tests so that all sites that share a common username are executed in parallel. Just the little bit of extra processing halves the time taken for the tests (~15s verus ~34s). This will only get worse as the test coverage improves...
6 years ago
Christopher K. Hoadley
bf0959d84b
Convert all supported Response URL sites to use JSON driven tests.
6 years ago
Christopher K. Hoadley
a576af358f
Convert all supported HTTP Status Code sites to use JSON driven tests.
6 years ago
Christopher K. Hoadley
be59b91107
Add information about a claimed and an unclaimed username to the site information. This will allow the tests to directly source the information from the JSON data. It will also allow people who add new sites to also add test data (which will automatically get tested). Add a new test method which finds all sites of a given detect algorithm, and which also has test vectors, and runs tests against them.
...
At the current time, the test vectors are optional. But, once when there is finally complete coverage, then they will be required. Anyone who adds a site without also adding test data will trigger a failure.
6 years ago
Christopher K. Hoadley
83aed9aeee
Add test methods for Error Message detection method as well. Add Dribbble to tests.
6 years ago
Christopher K. Hoadley
6fc5c131db
Convert Designspiration to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
26ef2e1b9b
Convert Codementor to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
110b93a757
Convert Codecademy to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
223d9716cb
Convert BuzzFeed to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
08ac008828
Convert Behance to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
65e3820608
Convert Bandcamp to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
c76b4524da
Convert BLIP.fm to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
8a82d883c6
Convert AngelList to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
6 years ago
Christopher K. Hoadley
89787b1509
Add test methods for HTTP Status detection method as well.
6 years ago
Christopher K. Hoadley
f609320d3c
Convert Canva to the more robust Response URL detection method. Add to tests to ensure that it is covered.
6 years ago
Christopher K. Hoadley
b237b8fe02
Problems with false positives on EyeEm/CreativeMarket/EVE Online. Add these sites to the tests to capture failure.
6 years ago
Christopher K. Hoadley
ae657460c8
Add coverage tests for all sites that use the response URL detection method. This test fails because Sherlock does not handle all of these sites properly.
6 years ago
Christopher K. Hoadley
f6860510ea
Add basic test infrastructure using unittest. Add tests to verify the 3 mechanisms of determining that a username is *not* supported on a given site.
...
Created SherlockBaseTest() class that provides infrastructure for the tests.
TODO: It seems that devRant is not detecting users that certainly exist.
TODO: While running tests, there is a ResourceWarning from an unclosed SSLSocket. This needs work.
6 years ago