stacks-archive / blockstack-proofs-py

For verifying proofs (twitter, github, domains etc) linked to a blockchain ID
MIT License
19 stars 12 forks source link

Fixes for failing test cases #30

Closed bshouse closed 7 years ago

bshouse commented 7 years ago

GitHub proofs were failing because the CSS classes had changed. In addition, BeautifulSoup's html.body.find() was not working as expected (changed to html.find())

A Facebook proof was failing because the test was looking for the Username in the URL. The username had a dot that was being redirect by Facebook to the dotless version. Updated the check to allow dotted or dotless username in the Facebook url.

muneeb-ali commented 7 years ago

@bshouse Thanks for sending this! I'll test today and merge.

bshouse commented 7 years ago

Great, please let me know if you find any problems. I would be happy to iron them out.