MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_get_path_one_level_attribute

Method test_get_path_one_level_attribute

test/orm/test_options.py:462–469  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

460 testing.resolve_lambda(test_case, User=User, Address=Address)
461
462 def test_get_path_one_level_attribute(self):
463 User = self.classes.User
464
465 sess = fixture_session()
466 q = sess.query(User)
467
468 opt = self._option_fixture(User.addresses)
469 self._assert_path_result(opt, q, [(User, "addresses")])
470
471 def test_get_path_one_level_with_unrelated(self):
472 Order = self.classes.Order

Callers

nothing calls this directly

Calls 4

_option_fixtureMethod · 0.95
fixture_sessionFunction · 0.90
_assert_path_resultMethod · 0.80
queryMethod · 0.45

Tested by

no test coverage detected