Skip to content

Commit

Permalink
CONTRIBUTING.md: update note about using credentials in tests (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaEsmukov committed Mar 20, 2021
1 parent 5ac2473 commit 9d38fcc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ A checklist for adding a new geocoder:
adding the required imports.

3. Create a test module in the `test/geocoders` directory. If your geocoder
class requires credentials, make sure to add the `@unittest.skipUnless`
decorator to skip running tests when the required credentials
are not provided (see `test/geocoders/what3words.py` for example).
class requires credentials, make sure to access them via
the `test.geocoders.util.env` object
(see `test/geocoders/what3words.py` for example).
Refer to the [Geocoder credentials](#geocoder-credentials) section
above for info on how to work with credentials locally.

Expand Down

0 comments on commit 9d38fcc

Please sign in to comment.