Skip to content

Commit

Permalink
👷 Fix test collection
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed May 28, 2024
1 parent 623a7e6 commit 98a1f02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
run: pip install tox tox-gh-actions

- name: Run tests
run: tox
run: |
tox -- ${{ matrix.oidc_enabled == 'yes' && '--ignore tests/oidc' || '' }}
env:
PYTHON_VERSION: ${{ matrix.python }}
DJANGO: ${{ matrix.django }}
Expand Down
3 changes: 1 addition & 2 deletions tests/oidc/test_oidc_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from django.urls import reverse

import pytest
from mozilla_django_oidc_db.config import store_config
from mozilla_django_oidc_db.models import UserInformationClaimsSources
from mozilla_django_oidc_db.typing import JSONObject
from responses import RequestsMock
Expand Down Expand Up @@ -64,8 +65,6 @@ def callback(
"""
A django request primed by an OIDC auth request flow, ready for the callback flow.
"""
from mozilla_django_oidc_db.config import store_config

mocker.patch(
"digid_eherkenning.oidc.views.OIDCInit.check_idp_availability",
return_value=None,
Expand Down

0 comments on commit 98a1f02

Please sign in to comment.