ORCID / python-orcid

Python wrapper around ORCID API
BSD 3-Clause "New" or "Revised" License
91 stars 26 forks source link

Instructions for running the test suite #33

Open crawley opened 4 years ago

crawley commented 4 years ago

The documentation needs some instructions for running the test suite.

It looks like you need to supply a bunch parameters via environment variables (a key, a secret, an email address and password, an orcid and a redirect URL). I have tried various "obvious" values and not been able to get the tests to run clean. Some clear instructions on what values to use would help.

(The other possibility is that I am supplying appropriate values ... and either the tests or the library has regressions against the current ORCID service. For example, one problem seems to be that '_authenticate' is failing to scrape the _csrf token out of the login page. This results in an AttributeError. For me ...)