Skip to content

Commit

Permalink
Add example of how to ovveride service url and token
Browse files Browse the repository at this point in the history
  • Loading branch information
Andilun committed Sep 1, 2023
1 parent 64db6b0 commit 73a4841
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ $ nox --session=tests
Unit tests are located in the _tests_ directory,
and are written using the [pytest] testing framework.

### Local Testing

When testing against a local instance of [dapla-pseudo-service](https://github.com/statisticsnorway/dapla-dlp-pseudo-service), you can configure the URL and authentication token by providing the following environment variables:

```console
PSEUDO_SERVICE_URL=http://localhost:<PORT>
PSEUDO_SERVICE_AUTH_TOKEN=<KEYCLOAK_TOKEN>
```

[pytest]: https://pytest.readthedocs.io/

## How to submit changes
Expand Down

0 comments on commit 73a4841

Please sign in to comment.