diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml index b768c75eb..fe21e8e7a 100644 --- a/.azure-pipelines/templates/jobs/packaging-jobs.yml +++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml @@ -150,7 +150,7 @@ jobs: displayName: Retrieve Certbot DNS plugins snaps - script: | sudo python3 -m pip install pytest - sudo pytest tests/certbot_dns_snap_test.py + sudo -E pytest tests/certbot_dns_snap_test.py displayName: Test DNS plugins snaps env: SNAP_FOLDER: $(Build.SourcesDirectory)/snap