File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
7373 "many_to_one.tests.ManyToOneTests.test_selects" ,
7474 # Incorrect JOIN with GenericRelation gives incorrect results.
7575 "aggregation_regress.tests.AggregationTests.test_aggregation_with_generic_reverse_relation" ,
76- # Table names should be sorted.
77- "introspection.tests.IntrospectionTests.test_table_names" ,
7876 }
7977 # $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
8078 _django_test_expected_failures_bitwise = {
Original file line number Diff line number Diff line change 33
44class DatabaseIntrospection (BaseDatabaseIntrospection ):
55 def table_names (self , cursor = None , include_views = False ):
6- return [x ["name" ] for x in self .connection .database .list_collections ()]
6+ return sorted ( [x ["name" ] for x in self .connection .database .list_collections ()])
You can’t perform that action at this time.
0 commit comments