multiple_database test failure after changeset 12755
|Reported by:||Gabriel Hurley||Owned by:||Gabriel Hurley|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm getting a failure from the
multiple_database.QueryTestCase.test_subquery unit test, line 669:
self.assertRaises(ValueError, list, qs)
The QuerySet is evaluating to an empty list rather than raising a ValueError.
Since I'm using sqlite for both databases I'm guessing that's why the test is failing for me, but the test ought to be modified so that it doesn't fail for an all sqlite multi-DB setup.
Sorry I don't have a patch immediately. It should be a quick fix, but I'm in the middle of something else.
Change History (5)
comment:1 Changed 7 years ago by
|Patch needs improvement:||unset|
comment:2 follow-up: 4 Changed 7 years ago by
|Owner:||changed from nobody to Gabriel Hurley|
|Status:||new → assigned|