MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_str

Method test_str

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

Source from the content-addressed store, hash-verified

111
112class LoadTest(PathTest, QueryTest):
113 def test_str(self):
114 User = self.classes.User
115 result = Load(User)
116 eq_(
117 str(result),
118 "Load(Mapper[User(users)])",
119 )
120
121 result = Load(aliased(User))
122 eq_(
123 str(result),
124 "Load(aliased(User))",
125 )
126
127 def test_gen_path_attr_entity(self):
128 User = self.classes.User

Callers

nothing calls this directly

Calls 3

LoadClass · 0.90
eq_Function · 0.90
aliasedFunction · 0.90

Tested by

no test coverage detected