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

Method test_participating_bad_kw

test/sql/test_metadata.py:5162–5174  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5160 Index("a", "b", "c", unknown_y=True)
5161
5162 def test_participating_bad_kw(self):
5163 with self._fixture():
5164 assert_raises_message(
5165 exc.ArgumentError,
5166 "Argument 'participating_q_p_x' is not accepted by dialect "
5167 "'participating' on behalf of "
5168 "<class 'sqlalchemy.sql.schema.Index'>",
5169 Index,
5170 "a",
5171 "b",
5172 "c",
5173 participating_q_p_x=8,
5174 )
5175
5176 def test_participating_unknown_schema_item(self):
5177 with self._fixture():

Callers

nothing calls this directly

Calls 2

_fixtureMethod · 0.95
assert_raises_messageFunction · 0.90

Tested by

no test coverage detected