We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39e4dcb commit c489882Copy full SHA for c489882
tests/testapp/test_queries.py
@@ -115,7 +115,7 @@ def test_twice(self):
115
assert list(Model.objects.with_tree_fields().with_tree_fields()) == []
116
117
def test_boring_coverage(self):
118
- with pytest.raises(ValueError, match="TreeQuery cannot be used"):
+ with pytest.raises(ValueError, match="Need either using or connection"):
119
TreeQuery(Model).get_compiler()
120
121
def test_count(self):
0 commit comments