'Regression test for #10348: ChangeList.get_query_set() shouldn\'t
overwrite a custom select_related provided by ModelAdmin.queryset().'

def test_select_related_preserved(self):

    m = ChildAdmin(Child, admin.site)
    cl = ChangeList(MockRequest(), Child, m.list_display, m.list_display_links, m.list_filter, m.date_hierarchy, m.search_fields, m.list_select_related, m.list_per_page, m.list_editable, m)
    self.assertEqual(cl.query_set.query.select_related, {'parent': {'name': {}}})
