def test_default_order_fallback_form_invalid(self):
        data = {"city": "fake"}
        view = setup_view(
            views.FilteredListView(
                model=self.QueryModel, form_class=self.Form),
            RequestFactory().get('/fake', data))

        view.form.is_valid()
        queryset = view.form_invalid(view.form)
        self.assertEqual(queryset.query.order_by, [])
Queryset is unordered if no default_order or data (invalid form).
dataset/ETHPy150Open peopledoc/django-generic-filters/django_genericfilters/tests/views.py/FilteredViewTestCase.test_default_order_fallback_form_invalid