indigo-dc / flaat

FLAsk with Access Tokens - FLAAT
MIT License
11 stars 6 forks source link

Testing needs Environment example #51

Closed marcvs closed 2 years ago

marcvs commented 2 years ago

The tests are nice. Just: I fail to give a proper environment e.g. for the CLAIM_GROUP.

Tried variants of this, without success:

$ export FLAAT_ISS=https://aai.egi.eu/oidc/; export OIDC_AGENT_ACCOUNT=egi; export CLAIM_GROUP='"{["marcus","user"]}"'
$ pytest flaat/aio/aio_test.py -v
lburgey commented 2 years ago

Please read the "development" section of the documentation.