Skip to content

Commit

Permalink
💚 This is why I shouldn't edit directly on Github
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Nov 28, 2023
1 parent 5864ad5 commit c36304a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/openforms/analytics_tools/tests/test_migrations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from django.contrib.admin.options import get_content_type_for_model
from django.db.migrations.state import StateApps

from openforms.analytics_tools.constants import AnalyticsTools
Expand Down Expand Up @@ -56,7 +55,7 @@ def test_migration_sets_identifier_and_gfk(self):
}

self.assertFalse(CSPSetting.objects.filter(identifier="").exists())

# We avoid using django.contrib.admin.options.get_content_type_for_model
# as it uses the "real" `ContentType` model. See:
# https://stackoverflow.com/q/51670468/#comment110467392_54357872
Expand Down

0 comments on commit c36304a

Please sign in to comment.