MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / go

Method go

test/orm/declarative/test_basic.py:1424–1426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1422
1423 def test_no_table(self):
1424 def go():
1425 class User(Base):
1426 id = Column("id", Integer, primary_key=True)
1427
1428 assert_raises_message(
1429 sa.exc.InvalidRequestError, "does not have a __table__", go

Callers

nothing calls this directly

Calls 12

SessionClass · 0.90
eq_Function · 0.90
create_allMethod · 0.80
UserClass · 0.70
AddressClass · 0.70
addMethod · 0.45
flushMethod · 0.45
expunge_allMethod · 0.45
allMethod · 0.45
queryMethod · 0.45
oneMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected