diff --git a/tests/test_spawner.py b/tests/test_spawner.py index e649f55..acefef6 100644 --- a/tests/test_spawner.py +++ b/tests/test_spawner.py @@ -147,6 +147,9 @@ async def test_get_batch_script(db): set -euo pipefail +export JUPYTERHUB_OAUTH_ACCESS_SCOPES=$(echo $JUPYTERHUB_OAUTH_ACCESS_SCOPES | base64 --decode) +export JUPYTERHUB_OAUTH_SCOPES=$(echo $JUPYTERHUB_OAUTH_SCOPES | base64 --decode) + trap 'echo SIGTERM received' TERM which jupyterhub-singleuser @@ -191,6 +194,9 @@ async def test_get_batch_script_subvars(db): set -euo pipefail +export JUPYTERHUB_OAUTH_ACCESS_SCOPES=$(echo $JUPYTERHUB_OAUTH_ACCESS_SCOPES | base64 --decode) +export JUPYTERHUB_OAUTH_SCOPES=$(echo $JUPYTERHUB_OAUTH_SCOPES | base64 --decode) + trap 'echo SIGTERM received' TERM which jupyterhub-singleuser