def _test_lazy_clause_o2m_reverse(self): joincond = self._join_fixture_o2m() self.assert_compile(relationships.create_lazy_clause(joincond, reverse_direction=True), "")
def _test_lazy_clause_o2m(self): joincond = self._join_fixture_o2m() self.assert_compile(relationships.create_lazy_clause(joincond), "")