Skip to content

Commit 5de21a9

Browse files
committed
add model_inheritanace_regress tests to CI
1 parent e971120 commit 5de21a9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/test-python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
migrations
9292
model_fields
9393
model_forms
94+
model_inheritance_regress
9495
mutually_referential
9596
nested_foreign_keys
9697
null_fk

django_mongodb/features.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
105105
# https://github.com/mongodb-labs/django-mongodb/issues/161
106106
"queries.tests.RelatedLookupTypeTests.test_values_queryset_lookup",
107107
"queries.tests.ValuesSubqueryTests.test_values_in_subquery",
108+
# SQLCompiler.collection_name raises StopIteration
109+
"model_inheritance_regress.tests.ModelInheritanceTest.test_mti_update_grand_parent_through_child",
110+
"model_inheritance_regress.tests.ModelInheritanceTest.test_mti_update_parent_through_child",
108111
}
109112
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
110113
_django_test_expected_failures_bitwise = {
@@ -266,6 +269,7 @@ def django_test_expected_failures(self):
266269
"datetimes.tests.DateTimesTests.test_datetimes_has_lazy_iterator",
267270
"datetimes.tests.DateTimesTests.test_datetimes_returns_available_dates_for_given_scope_and_given_field",
268271
"datetimes.tests.DateTimesTests.test_related_model_traverse",
272+
"model_inheritance_regress.tests.ModelInheritanceTest.test_issue_7105",
269273
"queries.tests.Queries1Tests.test_ticket7155",
270274
"queries.tests.Queries1Tests.test_tickets_7087_12242",
271275
"timezones.tests.LegacyDatabaseTests.test_query_datetimes",

0 commit comments

Comments
 (0)