Skip to content

Commit

Permalink
fix(hc): Use sentry.testutils.cases.TestCase (#54174)
Browse files Browse the repository at this point in the history
This resolves the AssertionError when running in split-db mode which
occurs due to `control` not being in
CamelCaseModelSerializerTest.databases.
  • Loading branch information
mrduncan authored Aug 4, 2023
1 parent fca2ec1 commit c7de1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sentry/api/serializers/rest_framework/test_base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from django.contrib.contenttypes.models import ContentType
from django.test import TestCase
from rest_framework import serializers

from sentry.api.serializers.rest_framework.base import (
Expand All @@ -9,6 +8,7 @@
convert_dict_key_case,
snake_to_camel_case,
)
from sentry.testutils.cases import TestCase


class PersonSerializer(CamelSnakeSerializer):
Expand Down

0 comments on commit c7de1c0

Please sign in to comment.