{{{
tests/foreign_object/test_empty_join.RestrictedConditionsTests.test_restrictions_with_no_joining_columns
}}}
The test was introduced in [https://code.djangoproject.com/ticket/25064
#25064], [https://code.djangoproject.com/ticket/27392 #27392] tickets and
two more small changes in test code.
In my opinion the test doesn't test django functionality important from
end user point of view or even development. It probably only test the idea
of the author. Tested model, its relational fields, are fully customised
not using public ORM API, just overwrite class methods.
I would suggest to delete the test because it doesn't bring an important
value to django code quality.
--
Ticket URL: <https://code.djangoproject.com/ticket/33436>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => wontfix
* easy: 1 => 0
Comment:
Even though the `Join` is not a public API, we agreed in #25064, that
generating invalid SQL is a bug in this case. I don't see any harm in
keeping a regression test for #25064.
--
Ticket URL: <https://code.djangoproject.com/ticket/33436#comment:1>