Skip to content

Commit

Permalink
Ignore type checking for one method
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding authored and AlanCoding committed May 9, 2024
1 parent 694d93d commit 500307f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_app/tests/activitystream/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from django.contrib.contenttypes.models import ContentType
from django.urls import reverse
from django.utils.http import urlencode
from typeguard import suppress_type_checks

from ansible_base.activitystream.models import Entry

Expand Down Expand Up @@ -133,6 +134,7 @@ def test_activitystream_api_deleted_model(admin_api_client):
assert response.data["changes"]["changed_fields"]["is_cool_fish"] == ["False", "True"]


@suppress_type_checks
def test_activitystream_api_deleted_related_model(admin_api_client, animal):
"""
Similar to the above test, but for the related_* fields.
Expand Down

0 comments on commit 500307f

Please sign in to comment.